Addition: computed role mappings for html elements by scottaohara · Pull Request #465 · w3c/html-aam · GitHub
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

Addition: computed role mappings for html elements #465

Merged
merged 10 commits into from
Jun 6, 2023

Conversation

scottaohara
Copy link
Member

@scottaohara scottaohara commented Mar 30, 2023

resolves #464

The initial PR adds the computed role cell to all HTML elements. Where possible, the cells have been filled in with 'use aria mappings', 'not mapped' or 'see comments' or '???'. The ??? instances are those where there are host-language roles that need to be determined for elements which are important to accessibility but have no explicit ARIA role to neatly map to.


Preview | Diff

resolves #464

The initial PR adds the computed role cell to all HTML elements.  Where possible, the cells have been filled in with 'use aria mappings', 'not mapped' or 'see comments' or '???'.  The ??? instances are those where there are host-language roles that need to be determined for elements which are important to accessibility but have no explicit ARIA role to neatly map to.
@scottaohara scottaohara changed the title add computed role mappings for html elements Addition: computed role mappings for html elements Mar 30, 2023
includes computed role th for the tables

revises the class name from 'computed-role' to 'role-computed' which is backwards, but matches how it was added in core aam.
@scottaohara scottaohara marked this pull request as draft March 31, 2023 14:06
Copy link
Collaborator

@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.

With or without the <dl> comment, this is good to go to get the non-controversial column in. Would be nice to file a new issue or two to track what happens to audio/video and the various extra input types once we have consensus on w3c/aria#529

index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
index.html Show resolved Hide resolved
@cookiecrook
Copy link
Collaborator

cookiecrook commented May 8, 2023

@scottaohara wants to merge 4 commits into gh-pages from computed-role

Is merging into gh-pages expected for this project?

Co-authored-by: James Craig <cookiecrook@users.noreply.github.com>
@scottaohara scottaohara marked this pull request as ready for review May 19, 2023 13:24
@scottaohara
Copy link
Member Author

@spectranaut @cookiecrook finished removing the placeholder "???" i had for some computed roles, and added in a few notes relating to other issues where the computed roles may change (dl/dt/dd and the aria association list issue, header/footer)

@scottaohara scottaohara merged commit 1892366 into gh-pages Jun 6, 2023
@scottaohara scottaohara deleted the computed-role branch June 6, 2023 19:16
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

Successfully merging this pull request may close these issues.

Add computedrole column for HTML-AAM
2 participants