Skip to content

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

@nutjob4life

Description

@nutjob4life

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 😰

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions