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

[html-aam PR 484] contextual role concept proposal #2218

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

pkra
Copy link
Member

@pkra pkra commented May 24, 2024

Moved from w3c/html-aam#484

scottaohara and others added 19 commits May 11, 2023 12:39
closes #375

The purpose of this proposal is both to resolve the issue that "scoped" was an undefined term that was used to indicate when certain elements would expose particular ARIA roles or not.  However, in the year of noodling on this, other activities to revise what "owned" means in ARIA, the idea of a minimum role, as well as the fact there were other elements in HTML that have "scoped" or "contextual roles" that are based on heuristics, rather than defined standards, became relevant.

A change to hopefully help simplify the implementations of contextual roles is that this proposal is aiming to tie the role of an element based on its a11y tree ancestry, rather than based on specific HTML elements in the DOM.

This PR represents the initial draft of the proposal.  Other work to explicitly call out the elements that have contextual roles, what roles they need to adjust to, and other wording revisions to replace "scoped" with the new term would still need to be made.
still working on the exact wording.  also changing some placeholder short code so as to hopefully not get more build errors for presently undefined terms
Co-authored-by: James Craig <[email protected]>
use computed role in both sentences, rather than switching between terms
Co-authored-by: James Craig <[email protected]>
@pkra
Copy link
Member Author

pkra commented May 24, 2024

Strangely enough, this merged without conflict -- which makes me doubt the result.

This position seems to match the original diff
@pkra
Copy link
Member Author

pkra commented May 24, 2024

@scottaohara I hope I moved the section to the correct position.

@pkra pkra changed the base branch from monorepo_history--html-aam to main June 12, 2024 19:24
@pkra pkra changed the title [Monorepo] [html-aam PR 484] contextual role concept proposal [html-aam PR 484] contextual role concept proposal Jun 12, 2024
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.

None yet

2 participants