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

Write tests for HTML-AAM host-language-reserved roles

Open cookiecrook opened this issue 9 months ago • 2 comments

Core-AAM includes the following comments on host language specific computed roles. (Cite: after Example 2)

When host language elements do not have an exact or equivalent mapping to a valid, non-abstract role, the related Accessibilty API Mapping extension specification MAY specify a unique computedrole string as the return value for interoperability testing purposes, such as

<video> <!-- computedrole returns "html-video" -->

<main role="html-video"> <!-- Author error. computedrole returns "main" -->

HTML-AAM is the first AAM spec to define some of these. html-input-file is an example. https://www.w3.org/TR/html-aam-1.0/#el-input-file

We should add some WPT tests in order to:

  • verify these new computed roles are returned for host language elements.
  • verify that it's a no-op if authors add them: (<div role="html-input-file"> is an author error and MUST NOT result changing the computedrole)

Note: these engine changes will be reflected in browser accessibility developer features as well... For example, once the change is made in WebKit's WebCore Accessibility, the role change will be visible in the WebKit Web Inspector DOM Accessibility pane. I assume the same is true of other browser's web dev tools.

cookiecrook avatar Mar 19 '25 19:03 cookiecrook

Downstream from ARIA 1887 (2023 work to get WPT Accessibility project spun up)

  • https://github.com/w3c/aria/issues/1887

cookiecrook avatar Mar 19 '25 19:03 cookiecrook

Hi there not busy or mute or retarded
Although native, I am very passionate about language discord and the protection of children which everybody already knows, so that you are all aware I have it all saved on an external device. so you can reset emails and Google which in turn will create long-term distrust from the people which for obvious reasons will not help the digital currency grow bigger or in the direction the bull\dao meaning {me} predicts but it isn't going to change what I already have saved i would like to arrange a round table meeting with all {tech support}

Alexectramagneta avatar Mar 27 '25 09:03 Alexectramagneta