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

fix(aria-errormessage): allow aria-live="polite" on aria-errormessage target #2597

Merged
merged 1 commit into from
Oct 28, 2020
Merged

fix(aria-errormessage): allow aria-live="polite" on aria-errormessage target #2597

merged 1 commit into from
Oct 28, 2020

Conversation

nantunes
Copy link
Contributor

@nantunes nantunes commented Oct 27, 2020

Spec (https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage) only states that "authors MAY use live regions for the error message element applying either an aria-live property or using one of the live region roles".

So we probably shouldn't enforce any role, unless we consider it a bad practice. In that case we should at least allow "polite" announcements, as "authors SHOULD NOT use the assertive value unless the interruption is imperative".

Replaces PR #2590, that was wrongly opened targeting the master branch.

Closes issue:

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

@nantunes nantunes requested a review from a team as a code owner October 27, 2020 03:05
@straker straker merged commit 0d5cfb1 into dequelabs:develop Oct 28, 2020
@straker
Copy link
Contributor

straker commented Oct 28, 2020

Thanks again for doing this. I'll get the contributor file updated.

@nantunes nantunes deleted the errormessage branch October 29, 2020 10:20
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