interop-accessibility icon indicating copy to clipboard operation
interop-accessibility copied to clipboard

Remove challenged test for kbd name computation

Open cookiecrook opened this issue 1 year ago • 2 comments

@ 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 https://github.com/web-platform-tests/interop-accessibility/issues/78#issuecomment-2181341545

cookiecrook avatar Jun 27 '24 01:06 cookiecrook

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

cookiecrook avatar Jun 27 '24 01:06 cookiecrook

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

aleventhal avatar Jul 02 '24 20:07 aleventhal