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(commons/aria): deprecate getRole({ noImplicit }) for getExplicitRole() #2294

Merged
merged 5 commits into from
Jun 16, 2020

Conversation

straker
Copy link
Contributor

@straker straker commented Jun 15, 2020

While working on #2281, one of the tests was failing because it wanted the explicit role but role conflict resolution was getting in the way and returning null. So created a function to get just the explicit role with no conflict resolution and made getRole the semantic role function. Deprecated the noImplicit option of getRole as that functionality is now covered by getExplicitRole.

Also made sure getRole could work with virtual nodes.

Once this is merged, will pull it into #2281 to finish it off.

Reviewer checks

Required fields, to be filled out by PR reviewer(s)

  • Follows the commit message policy, appropriate for next version
  • Code is reviewed for security

…semantic role function. deprecate noImplicit option from getRole.
@straker straker requested a review from a team as a code owner June 15, 2020 21:14
Copy link
Contributor

@WilcoFiers WilcoFiers left a comment

Choose a reason for hiding this comment

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

Minor change. I also suggest the following title:

feat(commons/aria): deprecate getRole({ noImplicit }) for getExplicitRole()

lib/commons/aria/get-explicit-role.js Outdated Show resolved Hide resolved
lib/commons/aria/get-explicit-role.js Outdated Show resolved Hide resolved
lib/commons/aria/get-role.js Outdated Show resolved Hide resolved
@straker straker changed the title feat(get-explicit-role): add get-explicit-role and make get-role the semantic role function. deprecate noImplicit option from getRole. feat(commons/aria): deprecate getRole({ noImplicit }) for getExplicitRole() Jun 16, 2020
@straker straker merged commit a2873ea into develop Jun 16, 2020
@straker straker deleted the explicit-role branch June 16, 2020 16:08
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.

2 participants