0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-10 22:24:19 +01:00
Bootstrap/site/content/docs/5.1
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
..
about Prepare v5.1.0. (#34674) 2021-08-04 18:41:51 +03:00
components Fix spacing utility classes mentioned in navbar supported content documentation (#35328) 2021-11-05 20:36:56 +02:00
content images.md: remove zero-width space (#35234) 2021-10-28 14:22:32 +03:00
customize Separate container classes from $enable-grid-classes option (#35005) 2021-10-05 19:46:33 +03:00
examples Add missing role="search" and type="search" in navbar doc and examples (#35223) 2021-11-01 08:33:39 +02:00
extend docs: fix typos in approach and placeholders (#34781) 2021-08-20 18:25:03 +03:00
forms floating-labels: remove aria-label in the select example (#35327) 2021-11-09 07:54:42 +02:00
getting-started Fix typo in RTL Hello World! sentence (#35236) 2021-10-21 16:33:29 +03:00
helpers replace dummy text with English for Text truncation page (#34936) 2021-09-09 14:30:41 +03:00
layout Release v5.1.1 (#34869) 2021-09-07 18:37:44 +03:00
utilities Update import stacks required for modifying utilities (#35320) 2021-11-03 14:31:21 +02:00
_index.html Prepare v5.1.0. (#34674) 2021-08-04 18:41:51 +03:00
migration.md Separate container classes from $enable-grid-classes option (#35005) 2021-10-05 19:46:33 +03:00