diff options
| author | Patrick H. Lauke <[email protected]> | 2021-04-15 04:35:54 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-04-15 06:35:54 +0300 |
| commit | d9675539139c21503dce7e3c567dbaac856bb138 (patch) | |
| tree | 644f314403fcd75ec19f353b0378e1c8ab7f472c /docs/javascript | |
| parent | 016f8fff115623e3d51ebd3ef7ea1a835f553f75 (diff) | |
| download | bootstrap-d9675539139c21503dce7e3c567dbaac856bb138.tar.xz bootstrap-d9675539139c21503dce7e3c567dbaac856bb138.zip | |
Remove aria-haspopup from dropdowns (#33624)
`aria-haspopup="true"` is really intended to signal that an ARIA `menu` will be opened on activation. as a result, some assistive technologies will announce controls with `aria-haspopup="true"` as a menu or menu item (e.g. JAWS and NVDA).
In addition, `aria-haspopup` seems to trigger a bug in Edge/Narrator where the `aria-expanded` state is not correctly announced at the moment when `aria-haspopup` is present.
This now makes the dropdown button more like a generic disclosure widget control - see also https://www.w3.org/TR/wai-aria-practices-1.2/examples/disclosure/disclosure-navigation.html01
Diffstat (limited to 'docs/javascript')
0 files changed, 0 insertions, 0 deletions
