Skip to content

Conversation

@giacomo-petri
Copy link
Contributor

Closes: web-platform-tests/interop-accessibility#173

Description:
These WPT tests are designed to evaluate how browsers expose roles for different SVG elements.

Note:
I haven't set any expectations. While the specs require all SVGs to be treated equally as graphics-document role, I believe there should be (and likely already is) some heuristic to communicate SVGs based on their intended purpose for users.

@cookiecrook
Copy link
Contributor

@cookiecrook
Copy link
Contributor

FYI @cyns re: blocking issues since she's resurrecting SVG-AAM now...

@cyns
Copy link

cyns commented Dec 11, 2025

We're just getting started, and it seems likely some of these mappings will change. What is the impact of having these tests merged? Is it likely to push implementations, before we're ready?

@cookiecrook
Copy link
Contributor

Mainly to illustrate the differences here... (as a tentative test file, that's okay, as long as the test expectation isn't confused for the real implementation, hence the ALL CAPS SENTENCE)
all implementations different

the expectation "should always be graphics document" is a bit wordy and possibly misleading... Perhaps it should be "UNDEFINED in SVG-AAM, but possibly graphics-document." Giacomo's expectation is from the base graphics-aria listings of computed role, means that Firefox's implementation is closest to spec, but the existing open questions prevent us from adding the concrete expectation. Even in a tentative test.

Copy link
Contributor

@cookiecrook cookiecrook left a comment

Choose a reason for hiding this comment

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

r+ with update diffs

Co-authored-by: James Craig <cookiecrook@users.noreply.github.com>
@cookiecrook cookiecrook merged commit 77f133d into web-platform-tests:master Dec 17, 2025
25 checks passed
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.

svg element role is not consistently supported

4 participants