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

WebKit intends to drop its never-standardized text role implementation #2011

Closed
cookiecrook opened this issue Aug 24, 2023 · 6 comments
Closed

Comments

@cookiecrook
Copy link
Contributor

WebKit intends to drop its never-standardized role="text" implementation. This issue is an FYI to the ARIA Working Group. If there are any concerns, please comment here or on the Bugzilla issue.

Details here: https://webkit.org/b/260641

@cookiecrook
Copy link
Contributor Author

cookiecrook commented Aug 24, 2023

Some Working Group history on this matter called out in this comment:

@cookiecrook
Copy link
Contributor Author

FYI to a handful of people that may be interested (and maybe supportive?) @stevefaulkner @joanmarie @aleventhal @jcsteh

@rahimabdi
Copy link
Contributor

In case this change impacts automated a11y checkers:

The aria-text rule in axe-core checks for the presence of role="text" for elements with focusable descendants. FYI @WilcoFiers

(I believe it's the only a11y automation library that includes a rule related to role="text")

@stevefaulkner
Copy link
Contributor

👋 @cookiecrook do you know if the VO behaviour, that appears to be the main use case for role=text in the wild, will be modified?

@cookiecrook
Copy link
Contributor Author

cookiecrook commented Aug 25, 2023

👋 @stevefaulkner I think you're referring to VoiceOver pausing on elements with different style properties, which is a standard feature of VoiceOver. A sighted user sees these differently, so a VO user can inspect the differences when relevant. I mainly hear non-VoiceOver users (web developers testing VO) objecting to this, which I think is due to lack of experience, as an experienced VoiceOver user would likely press VO+A or two-finger swipe down if they wanted VO to read continuously until explicitly paused.

So I'm not aware of a plan to change VoiceOver's behavior there, but I do want to know about cases where WebKit may be exposing irrelevant style blocks separately when role="text" is not applied. If there is a heuristic correction that can be made in the browser engine, that seems like a worthwhile effort. Likewise, if there is some pattern that where both behaviors are useful in different contexts, perhaps we should reconsider something like aria-combinecontents. I recall we discussed something similar previously, though I can't immediately find it in the issue tracker.

@cookiecrook
Copy link
Contributor Author

In the places where it differs between platform (e.g. VO Mac versus VO iOS), I think we can address that as a bug.

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

No branches or pull requests

4 participants