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

Template select can't be focused with tabulator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Solved By
    • Major
    • 15.7-rc-1
    • 13.1
    • None
    • Unknown
    • N/A
    • N/A
    • 2.1.1 Keyboard

    Description

      We faced an a11y issue while BITV examination (german wcag). You can't focus the templates for a new article by keyboard. We fixed it temporarily with a script:

              // Vorlagen sind nicht mit Tastatur anwählbar
              try {
                let vorlagen = document.querySelectorAll(".xwiki-select-option");
                let index = 0,
                length = vorlagen.length;
                for(; index < length; index++) {
                  vorlagen[index].setAttribute('tabIndex', '0');
                }
              } catch (e) {
                console.log('Keine Vorlagen zum Anspringen gefunden')
              }

      Attachments

        Issue Links

          Activity

            People

              Lucas C Charpentier Lucas
              Simpel Simpel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: