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

Error for input with a type of "range" #210

Closed
rowanmanning opened this issue Feb 13, 2018 · 1 comment
Closed

Error for input with a type of "range" #210

rowanmanning opened this issue Feb 13, 2018 · 1 comment
Assignees
Labels

Comments

@rowanmanning
Copy link

Currently I get an error for inputs with a type of range which seems unfixable. I might be missing something obvious but the following:

<label for="example-range">Example</label>
<input id="example-range" name="range" type="range" min="0" max="100" step="1" value="100"/>

errors with:

This range input element does not have a name available to an accessibility API. Valid names are: element content

But if I switch to a text input with near-identical markup, I get no error:

<label for="example-text">Example</label>
<input id="example-text" name="text" type="text" value="100"/>
@leptest
Copy link

leptest commented Mar 5, 2018

Looks like the color element might need to be added too?

@ironikart ironikart self-assigned this Mar 5, 2018
@ironikart ironikart reopened this Mar 5, 2018
dochne pushed a commit to silktide/HTML_CodeSniffer that referenced this issue Mar 8, 2021
dochne pushed a commit to silktide/HTML_CodeSniffer that referenced this issue Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants