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

Notification topbar toggle should use the `aria-expanded` attribute from the start

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Trivial
    • None
    • 17.1.0
    • Notifications
    • Unknown

    Description

      ```
      On Notification button (currently named “toggle navigation”), aria-expanded=”false” is missing.
      When we activate the button, then “aria-expanded=”true” appears and if we press again, true switches to false (this part is ok). aria-expanded=”false” should be present in the code before pressing the element the first time.
      ```

      See template at https://github.com/xwiki/xwiki-platform/blob/da56c0defbd5d810035ce9164dd38ad08984a709/xwiki-platform-core/xwiki-platform-alerts/xwiki-platform-alerts-ui/src/main/resources/XWiki/Alerts/Code/AlertsMenuUIX.xml#L140-L146

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: