Remove aria-haspopup from disclosure buttons

Created on 7 February 2024, 11 months ago
Updated 22 February 2024, 10 months ago

Problem/Motivation

aria-haspopup="menu" is being used incorrectly on disclosure buttons. According to the spec:

Authors MUST ensure that the role of the element that serves as the container for the popup content is menu, listbox, tree, grid, or dialog, and that the value of aria-haspopup matches the role of the popup container.

https://www.w3.org/TR/wai-aria-1.2/#aria-haspopup

Proposed resolution

Remove aria-haspopup from the disclosure buttons. aria-expanded already conveys that more content will be revealed.

πŸ› Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States hbrokmeier Wisconsin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024