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

<label> needed on <select> for Section 508 compliance #210

Open
nutjob4life opened this issue Oct 15, 2020 · 1 comment
Open

<label> needed on <select> for Section 508 compliance #210

nutjob4life opened this issue Oct 15, 2020 · 1 comment

Comments

@nutjob4life
Copy link

In the "Results per page" widget, the <select> generated does not have a matching <label> which is required by WCAG section 1.1.1 "Non-Text Content". This is being flagged in a Section 508 scan of a site that uses EEA Faceted Navigation.

In the generated HTML below, there is no <label> for the <select> with ID = c0:

<form action"." method="GET">
    <select class="faceted_select" name="c0" id="c0">
        <option value="0" title="0">0</option>
        <option selected="selected" value="20" title="20">20</option>
        <option value="40" title="40">40</option></select>
</form>

Yes, US Government websites have some pretty strict requirements 😰

@avoinea
Copy link
Member

avoinea commented Oct 15, 2020

@nutjob4life Thank you for reporting this. A pull-request on the issue would be appreciated 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants