Make WordPress Core

Opened 5 months ago

Closed 5 months ago

Last modified 5 months ago

#63542 closed defect (bug) (duplicate)

Mobile Accessibility: Fix ARIA role usage on admin bar icons when creating new post

Reported by: rollybueno's profile rollybueno Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.8
Component: Administration Keywords: has-screenshots has-patch
Focuses: accessibility Cc:

Description

An accessibility issue was found in the admin bar when creating a new post in mobile. The error, "Uses ARIA roles on incompatible elements," indicates that ARIA roles are applied to elements that do not support them. This can to be corrected to meet accessibility best practices and improve compatibility with assistive technologies.

To reproduce:

  • Open Lighthouse
  • Go to any posts and edit
  • Make sure you select Mobile in Device option and Accessibility category
  • Run the Accessibility scan.

https://i.imgur.com/PC5oxGw.png

Attachments (1)

63542-after-fix.png (89.0 KB) - added by opurockey 5 months ago.
After fix:

Download all attachments as: .zip

Change History (5)

#1 @rollybueno
5 months ago

  • Summary changed from Accessibility: Fix ARIA role usage on admin bar icons when creating new post to Mobile Accessibility: Fix ARIA role usage on admin bar icons when creating new post

This ticket was mentioned in PR #8930 on WordPress/wordpress-develop by @opurockey.


5 months ago
#2

  • Keywords has-patch added; needs-patch removed

Mobile Accessibility: Fix ARIA role usage on admin bar icons when creating new post

Trac ticket: https://core.trac.wordpress.org/ticket/63542

@opurockey
5 months ago

After fix:

#3 @joedolson
5 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Thanks for your report! However, this is a known false positive in Lighthouse. This was previously reported in #61795, and is not actually an accessibility error. It is an incorrect result in the Lighthouse test results; it is correct per the ARIA specifications.

@rollybueno commented on PR #8930:


5 months ago
#4

This is a false report from Lighthouse and has been closed since https://core.trac.wordpress.org/ticket/63542#comment:3.

You can close this PR as well.

Note: See TracTickets for help on using tickets.