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

feat: support "none" role as a synonym for the "presentation" role #933

Merged
merged 4 commits into from
Jun 10, 2023

Conversation

jlp-craigmorten
Copy link
Contributor

Fixes #932

Adding equivalent behaviours for the role of "none" where there is existing precedent for how to deal with the "presentation" role.

REF: https://rawgit.com/w3c/aria/stable/#none

@changeset-bot
Copy link

changeset-bot bot commented May 24, 2023

🦋 Changeset detected

Latest commit: 162a2f2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
dom-accessibility-api Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jlp-craigmorten
Copy link
Contributor Author

Just getting my head around the codebase, let me know if would like some test coverage in the likes of https://github.com/eps1lon/dom-accessibility-api/blob/main/sources/__tests__/getRole.js

@eps1lon
Copy link
Owner

eps1lon commented May 25, 2023

Yeah there should be a test for the public API

1 similar comment
@eps1lon
Copy link
Owner

eps1lon commented May 25, 2023

Yeah there should be a test for the public API

Copy link
Owner

@eps1lon eps1lon left a comment

Choose a reason for hiding this comment

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

Thanks!

@cmorten
Copy link

cmorten commented Jun 8, 2023

@eps1lon anything else needed with this one?

@eps1lon eps1lon merged commit a593ee0 into eps1lon:main Jun 10, 2023
@github-actions github-actions bot mentioned this pull request Jun 10, 2023
@jlp-craigmorten jlp-craigmorten deleted the feat-issue-932-none-role branch June 10, 2023 10:25
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.

Support ARIA 1.1 none role
3 participants