Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19823

Search box input misses ARIA roles

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • None
    • 13.10.6
    • Unknown
    • N/A
    • N/A
    • 4.1.2 Name, Role, Value

    Description

      This is related to WCAG 4.1.2 requirement:

      Search input in the header his hidden by default. Screen reader users cannot expand the menu because it has no ARIA attributes to indicate its state of expanded or collapsed.

      The search <button> is being used for both expanding/collapsing as well as being the search button. There needs to be a separate button to expand and collapse, ideally it should not be both. It will also need ARIA attributes aria-expanded="true/false" based on its visibility to describe the state of the search.

      Attachments

        1. search-collapsed.png
          13 kB
          Jean-Sébastien Dennebouy
        2. search-expanded.png
          14 kB
          Jean-Sébastien Dennebouy

        Activity

          People

            vmassol Vincent Massol
            jdennebouy Jean-Sébastien Dennebouy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: