[en] Menu and Menubar Pattern

Not exactly sure what all is wrong with this text, but at least there seems
to be SOMETHING.

Under Right Arrow, 3rd bullet point is about focus in a menu, on an item
w/no submenu. And yet the 1st action to happen is to close submenu and any
parent menus -- didn't we just establish there is no submenu? Perhaps the
case I'm currently looking at is my problem, keeping me from following
along. For my particular, the most pertinent advice here is the bit about
there being no menubar, and in that case (item w/no submenu), then Right
Arrow does nothing.

LeftArrow text seems to be in order, but should also include the same
statement from the end of the RightArrow text - if there is no menubar,
Left Arrow on menuitem does nothing, correct?


   - Right Arrow:
      - When focus is in a menubar, moves focus to the next item,
      optionally wrapping from the last to the first.
      - When focus is in a menu and on a menuitem that has a submenu, opens
      the submenu and places focus on its first item.
      - When focus is in a menu and on an item that does not have a
      submenu, performs the following 3 actions:
         1. Closes the submenu and any parent menus.
         2. Moves focus to the next item in the menubar.
         3. If focus is now on a menuitem with a submenu, either:
         (Recommended) opens the submenu of that menuitem without moving
         focus into the submenu, or opens the submenu of that menuitem and
         places focus on the first item in the submenu.
      Note that if the menubar were not present, e.g., the menus were
      opened from a menubutton, Right Arrow would not do anything when
      focus is on an item that does not have a submenu.
   - Left Arrow:
      - When focus is in a menubar, moves focus to the previous item,
      optionally wrapping from the first to the last.
      - When focus is in a submenu of an item in a menu, closes the submenu
      and returns focus to the parent menuitem.
      - When focus is in a submenu of an item in a menubar, performs the
      following 3 actions:
         1. Closes the submenu.
         2. Moves focus to the previous item in the menubar.
         3. If focus is now on a menuitem with a submenu, either:
         (Recommended) opens the submenu of that menuitem without moving
         focus into the submenu, or opens the submenu of that menuitem and
         places focus on the first item in the submenu.

Received on Tuesday, 13 June 2023 22:14:29 UTC