diff --git a/doc/contextmenu/AccessibilityDoc.vue b/doc/contextmenu/AccessibilityDoc.vue index 42fd1636b..c7b43a5b7 100644 --- a/doc/contextmenu/AccessibilityDoc.vue +++ b/doc/contextmenu/AccessibilityDoc.vue @@ -4,7 +4,7 @@

ContextMenu component uses the menubar role with aria-orientation set to "vertical" and the value to describe the menu can either be provided with aria-labelledby or aria-label props. Each list item has a menuitem role with aria-label referring to the label of the item and aria-disabled defined if the item is disabled. A submenu within a ContextMenu uses the menu role with an aria-labelledby defined as - the id of the submenu root menuitem label. In addition, menuitems that open a submenu have aria-haspopup, aria-expanded and aria-controls to define the relation between the item and the submenu. + the id of the submenu root menuitem label. In addition, menuitems that open a submenu have aria-haspopup and aria-expanded to define the relation between the item and the submenu.

Keyboard Support

diff --git a/doc/megamenu/AccessibilityDoc.vue b/doc/megamenu/AccessibilityDoc.vue index 39f492fc9..ead362289 100644 --- a/doc/megamenu/AccessibilityDoc.vue +++ b/doc/megamenu/AccessibilityDoc.vue @@ -3,9 +3,8 @@

Screen Reader

MegaMenu component uses the menubar role along with aria-orientation and the value to describe the component can either be provided with aria-labelledby or aria-label props. Each list item has a - presentation role whereas anchor elements have a menuitem role with aria-label referring to the label of the item and aria-disabled defined if the item is disabled. A submenu within a MegaMenu uses the - menu role with an aria-labelledby defined as the id of the submenu root menuitem label. In addition, root menuitems that open a submenu have aria-haspopup, aria-expanded and aria-controls to define the - relation between the item and the submenu. + menuitem role with aria-label referring to the label of the item and aria-disabled defined if the item is disabled. A submenu within a MegaMenu uses the menu role with an aria-labelledby defined as the + id of the submenu root menuitem label. In addition, root menuitems that open a submenu have aria-haspopup and aria-expanded to define the relation between the item and the submenu.

Keyboard Support

diff --git a/doc/panelmenu/AccessibilityDoc.vue b/doc/panelmenu/AccessibilityDoc.vue index 0a3e0606c..bb26c4d6f 100644 --- a/doc/panelmenu/AccessibilityDoc.vue +++ b/doc/panelmenu/AccessibilityDoc.vue @@ -8,8 +8,8 @@

The content of an accordion panel uses region role, defines an id that matches the aria-controls of the header and aria-labelledby referring to the id of the header.

- The tree elements has a tree as the role and each menu item has a treeitem role along with aria-label, aria-selected and aria-expanded attributes. The container element of a treenode has the - group role. The aria-setsize, aria-posinset and aria-level attributes are calculated implicitly and added to each treeitem. + The tree elements has a tree as the role and each menu item has a treeitem role along with aria-label and aria-expanded attributes. The container element of a treenode has the group role. The + aria-setsize, aria-posinset and aria-level attributes are calculated implicitly and added to each treeitem.

Header Keyboard Support