WordPress.org

Make WordPress Core

Opened 4 weeks ago

Last modified 2 weeks ago

#54681 new defect (bug)

autocomplete.js and tooltip.js are missing aria-atomic=true

Reported by: russelleck Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.8.2
Component: External Libraries Keywords: needs-patch
Focuses: accessibility, javascript Cc:

Description

An error container class="ui-helper-hidden-accessible" is made with aria-live="assertive", but it does not contain a WAI-ARIA attribute that will make sure all assistive technologies can read the error message after more than one invalid submission.

Adding the aria-atomic="true" to the error container tag will ensure assistive technologies can read the message after more than one invalid submission.

wp-includes/js/jquery/ui/autocomplete.js - line 313
wp-includes/js/jquery/ui/tooltip.js - line 109

Change History (2)

This ticket was mentioned in Slack in #accessibility by ryokuhi. View the logs.


2 weeks ago

#2 @sabernhardt
2 weeks ago

  • Component changed from General to External Libraries
Note: See TracTickets for help on using tickets.