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

Notifications button can't be focused by tabulator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 13.1
    • Notifications
    • Unknown
    • N/A
    • N/A
    • 2.1.1 Keyboard

    Description

      We faced an a11y issue while BITV examination (german wcag). The notifications button (#tmNotifications) couldn't be focus by keyboard only. We fixed it temporarily with a script:

      // Der Knopf "Benachrichtigungen" oben rechts ist nicht mit Tab anspringbar
      try {
        let tmNotifications = document.querySelector("#tmNotifications > a");
        tmNotifications.setAttribute('tabIndex', '0');
      } catch (e) {
        console.log('Knopf Benachrichtigungen nicht 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: