Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch attribute for checkbox inputs #510

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from
Open

Conversation

scottaohara
Copy link
Member

@scottaohara scottaohara commented Oct 17, 2023

closes #496 if this feature goes through.


馃挜 Error: 500 Internal Server Error 馃挜

PR Preview failed to build. (Last tried on Oct 18, 2023, 12:44 PM UTC).

More

PR Preview relies on a number of web services to run. There seems to be an issue with the following one:

馃毃 Spec Generator - Spec Generator is the web service used to build specs that rely on ReSpec.

馃敆 Related URL


馃槶  Sorry, there was an error generating the HTML. Please report this issue!
Specification: http://labs.w3.org/spec-generator/uploads/FD9Dh7/index.html?isPreview=true%3FisPreview%3Dtrue&publishDate=2023-10-18
ReSpec version: 34.2.0
File a bug: https://github.com/w3c/respec/
Error: undefined

If you don't have enough information above to solve the error by yourself (or to understand to which web service the error is related to, if any), please file an issue.

closes #496 if this feature goes through.
index.html Outdated Show resolved Hide resolved
Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there's a dedicated entry I assume that the indeterminate state of input elements ends up being always ignored here? In the implementation I instead had to modify the aria-checked computation, but I think this works too.

@scottaohara
Copy link
Member Author

logged this bug today per the current webkit implementation that uses pseudo content to derive a name for the switch when it is not labelled - https://bugs.webkit.org/show_bug.cgi?id=270377

i'm going to wait for response on that before i make any other updates to this PR. But, definitely not a useful name with the current implementation.

related ARIA issue where maybe the custom state presented as pseudo content could be exposed in a different/better way - w3c/aria#2085 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose <input type=checkbox switch> as role=switch
2 participants