aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorScott O'Hara <[email protected]>2021-11-09 00:54:42 -0500
committerGitHub <[email protected]>2021-11-09 07:54:42 +0200
commite958cd26371a19df613efce52ecf42c4b0adcddd (patch)
tree9b711d8c6d45732618f0a51d803205da84eceefe /package.json
parent31998dfd1e972faf46ab23c26533d3e1a5f5e4bf (diff)
downloadbootstrap-e958cd26371a19df613efce52ecf42c4b0adcddd.tar.xz
bootstrap-e958cd26371a19df613efce52ecf42c4b0adcddd.zip
floating-labels: remove aria-label in the select example (#35327)
While it is understood that this is just an example, the visible text (label) of "Works with selects" and the `aria-label="Floating label select example"` created a [WCAG 2.5.3 Label in name](https://www.w3.org/WAI/WCAG21/quickref/#label-in-name) failure. As the `aria-label` isn't necessary here since this `select` is already provided an accessible name by its `label` element, removing the unnecessary `aria-label` seems the best course of action as: * removing it solves the WCAG issue * it removes the potential implication to developers that they'd even _need_ an `aria-label` here, let alone indirectly suggesting that it's ok for the visible text and accessible name to be out of alignment
Diffstat (limited to 'package.json')
0 files changed, 0 insertions, 0 deletions