Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility: Associate form fields with labels #11837

Closed
cjcenizal opened this issue May 17, 2017 · 2 comments
Closed

Accessibility: Associate form fields with labels #11837

cjcenizal opened this issue May 17, 2017 · 2 comments
Labels
bug Fixes for quality problems that affect the customer experience Project:Accessibility Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins.

Comments

@cjcenizal
Copy link
Contributor

Some types of form elements (text boxes, text areas, checkboxes, radio buttons, etc.) have a text label adjacent to them that identifies the function of that particular form element (e.g., "First name" adjacent to a text box). The visual label next to a form control should be changed to a <label> element with a for attribute that matches the id attribute in the control. See http://webaim.org/techniques/forms/controls#input for specific examples of the correct markup.

@cjcenizal
Copy link
Contributor Author

cjcenizal commented Jun 14, 2017

We also need to associate help text (including tooltips and "info" icons) and error text with the relevant form fields.

<label for="field">Label</label>
<div id="tooltip">A tooltip</div>
<input id="field" aria-describedby="tooltip helpText errorText" />
<div id="helpText">Some help text</div>
<div id="errorText">Some error text</div>

@tbragin tbragin added the bug Fixes for quality problems that affect the customer experience label Jul 28, 2017
@timroes
Copy link
Contributor

timroes commented Nov 21, 2017

This should be done by now. If there are any places left this isn't done we should open a separate issue for that specific place, UI component, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Project:Accessibility Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins.
Projects
None yet
Development

No branches or pull requests

3 participants