aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.0/forms/layout.md
AgeCommit message (Collapse)AuthorFilesLines
2021-08-04Prepare v5.1.0. (#34674)v5.1.0XhmikosR1-330/+0
2021-03-10Fixes some copy around inline formsMark Otto1-1/+1
2020-10-19docs(forms): fix incorrect legend nesting in fieldsetGaël Poupard1-22/+20
2020-10-19docs(forms): drop useless text faking a label in horizontal forms exampleGaël Poupard1-2/+1
2020-07-11Docs: forms accessibility cleanup (#31114)Patrick H. Lauke1-8/+0
* Expand on disabled fieldsets and faked buttons include further advice/information on how to disable faked buttons for keyboard/AT users * Centralise accessible name advice in forms overview seems odd to only mention (separately) label, aria-label etc in input-group and layout. the advice is just as pertinent in other sections like select. checks only skims over this. moving this, in expanded form, into the overview section itself. adding a specific cross-reference (just because they are easily left with no accname at all) in the checks page. * Change warning about accessibility, modify server-side example - paradoxically, due to our current problems with validation (see #28414) and the fact that browsers seem to have improved in this area for the most part, it's now actually better to use browser-native validation - added explicit `id` and `aria-describedby` association to at least the server-side form error messages, to show how it should be done properly, and expanded the prose for that explaining this. * Replace `.sr-only` with `.visually-hidden` in new addition * Copy edits for clarity in parenthetical * Copy and formatting tweaks - Wordsmithing here and there - Turns some hyphens into em dashes - Turns a long running comma separated list into an unordered list - Rearranges some copy just a bit Co-authored-by: Mark Otto <[email protected]>
2020-07-11Update layout.mdMark Otto1-1/+1
2020-07-11Single line example for inline formsRohit Sharma1-5/+0
2020-07-10Docs: rename "Screen readers" helper page to "Visually hidden"Patrick H. Lauke1-1/+1
"screen readers" is quite reductive, as there are other assistive technologies. content hidden this way is even announced by things like Alexa/Siri etc, so it's not so much just "screen readers". in the long run, we may even consider changing the actual classnames (maybe `.visually-hidden` / `.visually-hidden-focusable`, though admittedly that's a bit verbose). also includes a tiny tweak to layout.md to generalise the note about using `.sr-only`
2020-07-03Rename `sr-only`/`sr-only-focusable` (#31139)Patrick H. Lauke1-11/+11
* Rename `sr-only`/`sr-only-focusable` To be more representative of the fact that these are not necessarily "screen reader" specific, but actually apply to assistive technologies in general (and also things like Alexa/Siri/etc). Goes hand-in-hand with #31133 Co-authored-by: XhmikosR <[email protected]>
2020-06-19Fix links to gutters page (#31116)Quy1-2/+2
2020-05-13Bump version to 5.0.0-alpha1 (#29925)XhmikosR1-0/+346
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.