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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove challenged test for kbd name computation #131

Open
cookiecrook opened this issue Jun 27, 2024 · 2 comments
Open

Remove challenged test for kbd name computation #131

cookiecrook opened this issue Jun 27, 2024 · 2 comments
Labels
good first issue Good for newcomers

Comments

@cookiecrook
Copy link
Collaborator

cookiecrook commented Jun 27, 2024

@ aleventhal wrote:

I think there's an error in the comp_tooltip.html test:

<kbd title="Control + Option" data-expectedlabel="Control + Option" data-testname="kbd with tooltip label" class="ex">CTRL + OPT</kbd>

According to the kbd table in HTML, many platforms do not have an accessible object for the kbd element. See https://w3c.github.io/html-aam/#el-kbd

If there's no accessible object, how can there be a name from the title attribute?

Originally posted by @aleventhal in #78 (comment)

@cookiecrook cookiecrook added the good first issue Good for newcomers label Jun 27, 2024
@cookiecrook
Copy link
Collaborator Author

Can either move test to a respective .tentative file or comment el-kbd -> link with a link to this issue.

@aleventhal
Copy link

See also w3c/html-aam#552, where it's discussed whether moving the title to the description automatically for name-prohibited roles makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants