0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Bootstrap/site
Scott O'Hara e958cd2637
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
2021-11-09 07:54:42 +02:00
..
assets Rename e to event (#34979) 2021-09-15 14:27:46 +03:00
content floating-labels: remove aria-label in the select example (#35327) 2021-11-09 07:54:42 +02:00
data Bump version to 5.1.3. 2021-10-09 09:43:19 +03:00
layouts docs: make use of the .Site.Params.docs_version variable (#34913) 2021-09-06 21:59:04 +03:00
static Prepare v5.1.0. (#34674) 2021-08-04 18:41:51 +03:00
.eslintrc.json ESLint: disable no-negated-condition rule (#35137) 2021-10-08 12:47:55 +03:00