fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

ContextualMenu A11y Pass

Open TestAccessibilityGIT opened this issue 8 years ago • 7 comments

Tracking all of the issues brought up with the 08/24 accessibility pass on Contextual Menu control Details on individual bugs can be found on SharePoint

  • [x] Bug 1 : [Accessibility][Forms and validation]: 'Actions' label is not associated with its corresponding control.
    • @kevintcoughlin: This is a header node, so perhaps the correct fix here is to use aria-label on the search input as that element is missing a corresponding label.
  • [x] Bug 2 : [Accessibility][Screen reader]: Label or place holder is not provided for the Edit field(250) present under Contextual Menu with Sub Menus
  • [ ] Bug 3 : [Accessibility][Screen reader]: Narrator focus moves twice on the first element of context menu in scan mode.
  • [ ] Bug 4 : [Accessibility][Screen reader]: Name, Role and state is not properly defined for split buttons under 'ContextualMenu with checkable menu items and toggleable split button'.
  • [x] Bug 5 : [Accessibility][Screen reader]: Secondary text is not announced when user navigates in context menu under ContextualMenu with icons and secondary text [#6670].
  • [ ] Bug 6 : [Accessibility][Screen reader]: Narrator does not read notification alert properly.
  • [ ] Bug 7 : [Accessibility][Screen reader]: In Scan mode user is not able to close the 'Contextual menu' using 'Esc key'.
    • @KevinTCoughlin: This is likely because scan focuses different elements and therefore the event isn't bubbling on the component.
  • [ ] Bug 8 : [Accessibility][Keyboard Navigation]: Tab Focus is moving out of the Notification window which appears on activating 'Share w/split button'.
  • [x] Bug 9 : [Accessibility][Screen reader]: Narrator focus moves onto the separator line in scan mode. [#6876]
  • [ ] Bug 10 : [Accessibility][Screen reader]: Narrator focus moves onto hidden elements in scan mode in backward navigation.
  • [ ] Bug 11 : [Accessibility][Screen reader]: User is not able to access "Share w/split button " in scan mode.
  • [x] Bug 12 : [Accessibility][Programmatic access]: id attribute value must be unique.
  • [ ] Bug 13 : [Accessibility][Programmatic access]: 'Hierarchy levels' are not defined for submenus.
  • [x] Bug 14 : [Functional]: Some controls are not implemented properly in 'Charm' submenu window.
  • [ ] Bug 15 : [Accessibility][Usable]: Header/Label should be define for 'Categories group' in 'Categorize submenu'.
    • @KevinTCoughlin: Not sure if we can do this with current API. ariaLabel on subMenuProps adds the aria-label to the button, not the callout submenu.
  • [ ] Bug 16 : [Accessibility][Programmatic access]: Role of the categories is not appropriate as multiple selection of categories could be possible.
  • [ ] Bug 17 : [Accessibility][Usable]: Screen does not scroll down along with keyboard focus in back navigation.
  • [x] Bug 18 : [Accessibility][Keyboard]: User is not able to delete 'NAN' value from 'Hover delay' edit box under 'ContextualMenu with submenus' after entering invalid values.

Component: ContextualMenu

@micahgodbolt

TestAccessibilityGIT avatar Sep 13 '18 22:09 TestAccessibilityGIT

Crossing off bugs that I've committed fixes for in https://github.com/KevinTCoughlin/office-ui-fabric-react/tree/keco/ctx-menu-demo-a11y as I go.

KevinTCoughlin avatar Sep 17 '18 23:09 KevinTCoughlin

@KevinTCoughlin careful not to say "fixes" this issue, unless it closes all the listed bugs.

micahgodbolt avatar Oct 08 '18 04:10 micahgodbolt

:tada:This issue was addressed in #6574, which has now been successfully released as @uifabric/[email protected].:tada:

Handy Links:

msft-github-bot avatar Oct 08 '18 12:10 msft-github-bot

:tada:This issue was addressed in #6574, which has now been successfully released as [email protected].:tada:

Handy Links:

msft-github-bot avatar Oct 08 '18 12:10 msft-github-bot

@KevinTCoughlin careful not to say "fixes" this issue, unless it closes all the listed bugs.

Ah, was going to re-open when I saw this merged. Didn't realize that was the hook. Makes sense.

KevinTCoughlin avatar Oct 08 '18 17:10 KevinTCoughlin

Bug 1 : [Accessibility][Forms and validation]: 'Actions' label is not associated with its corresponding control. Action label is associated with the corresponding control. Issue is fixed. Verified the issue in below build: OS: Version: 1903(OS Build 18956.1000) URL: https://fabricweb.z5.web.core.windows.net/oufr/7.31.2/#/examples/contextualmenu Browser: Edge Fabric site version id : 7.31.2

Bug 2 : [Accessibility][Screen reader]: Label or place holder is not provided for the Edit field(250) present under Contextual Menu with Sub Menus Placeholder is provided for the edit field present under Contextual Menu with Sub Menus. Issue is fixed. Verified the issue in below build: OS: Version: 1903(OS Build 18956.1000) URL: https://fabricweb.z5.web.core.windows.net/oufr/7.31.2/#/examples/contextualmenu Browser: Edge Fabric site version id : 7.31.2

Bug 3 : [Accessibility][Screen reader]: Narrator focus moves twice on the first element of context menu in scan mode. Narrator focus move only once to the first element of context menu in scan mode. Issue is fixed. Verified the issue in below build: OS: Version: 1903(OS Build 18956.1000) URL: https://fabricweb.z5.web.core.windows.net/oufr/7.31.2/#/examples/contextualmenu Browser: Edge Fabric site version id : 7.31.2

Bug 5 : [Accessibility][Screen reader]: Secondary text is not announced when user navigates in context menu under ContextualMenu with icons and secondary text [#6670]. Secondary text is announcing by the screen reader while navigating in context menu under ContextualMenu with icons and secondary text. Issue is fixed. Verified the issue in the below build: OS: Version: 1903(OS Build 18956.1000) URL: https://fabricweb.z5.web.core.windows.net/oufr/7.31.2/#/examples/contextualmenu Browser: Edge Fabric site version id : 7.31.2

Bug 6 : [Accessibility][Screen reader]: Narrator does not read notification alert properly. Narrator reads the complete alert. Issue is fixed. Verified the issue in below build: OS: Version: 1903(OS Build 18956.1000) URL: https://fabricweb.z5.web.core.windows.net/oufr/7.31.2/#/examples/contextualmenu Browser: Edge Fabric site version id : 7.31.2

Bug 8 : [Accessibility][Keyboard Navigation]: Tab Focus is moving out of the Notification window which appears on activating 'Share w/split button'. Tab focus is not moving out of the Notification window which appears on activating 'Share w/split button'. Issue is fixed. Verified the issue in the below build: OS: Version: 1903(OS Build 18956.1000) URL: https://fabricweb.z5.web.core.windows.net/oufr/7.31.2/#/examples/contextualmenu Browser: Edge Fabric site version id : 7.31.2

Bug 9 : [Accessibility][Screen reader]: Narrator focus moves onto the separator line in scan mode. [#6876] Narrator focus is not moving onto the separator line in scan mode. Issue is fixed. Verified the issue in the below build: OS: Version: 1903(OS Build 18956.1000) URL: https://fabricweb.z5.web.core.windows.net/oufr/7.31.2/#/examples/contextualmenu Browser: Edge Fabric site version id : 7.31.2

Bug 10 : [Accessibility][Screen reader]: Narrator focus moves onto hidden elements in scan mode in backward navigation. Narrator focus is not moving to the hidden elements in scan mode in backward navigation. Issue is fixed. Verified issue in below build: URL: https://fabricweb.z5.web.core.windows.net/oufr/7.31.2/#/examples/contextualmenu Browser: Edge Fabric site version id : 7.31.2

Bug 11 : [Accessibility][Screen reader]: User is not able to access "Share w/split button " in scan mode. User is able to access "Share w/split button" in scan mode. Issue is fixed. Verified issue in below build: URL: https://fabricweb.z5.web.core.windows.net/oufr/7.31.2/#/examples/contextualmenu Browser: Edge Fabric site version id : 7.31.2

Bug 12 : [Accessibility][Programmatic access]: id attribute value must be unique. Unique id's has been used in the application. Issue is fixed. Verified issue in below build: URL: https://fabricweb.z5.web.core.windows.net/oufr/7.31.2/#/examples/contextualmenu Browser: Edge Fabric site version id : 7.31.2

Bug 13 : [Accessibility][Programmatic access]: 'Hierarchy levels' are not defined for submenus. Hierarchy levels are defined for submenus. Issue is fixed. Verified issue in below build: URL: https://fabricweb.z5.web.core.windows.net/oufr/7.31.2/#/examples/contextualmenu Browser: Edge Fabric site version id : 7.31.2

Bug 16 : [Accessibility][Programmatic access]: Role of the categories is not appropriate as multiple selection of categories could be possible. Role is assigned properly for multiple selection of categories could be possible Issue is fixed. Verified the issue in below build: URL: https://fabricweb.z5.web.core.windows.net/oufr/7.31.2/#/examples/contextualmenu Browser: Edge Fabric site version id : 7.31.2

Bug 17 : [Accessibility][Usable]: Screen does not scroll down along with keyboard focus in back navigation. Screen is scrolling down along with the keyboard focus in back navigation. Issue is fixed. Verified issue in below build: URL: https://fabricweb.z5.web.core.windows.net/oufr/7.31.2/#/examples/contextualmenu Browser: Edge Fabric site version id : 7.31.2

Bug 18 : [Accessibility][Keyboard]: User is not able to delete 'NAN' value from 'Hover delay' edit box under 'ContextualMenu with submenus' after entering invalid values. User is able to delete the "NAN" value from 'Hover delay' edit box under "ContextualMenu with submenus' after entering invalid values. Issue is fixed. Verified issue in below build: URL: https://fabricweb.z5.web.core.windows.net/oufr/7.31.2/#/examples/contextualmenu Browser: Edge Fabric site version id : 7.31.2

Kumar2608 avatar Sep 12 '19 09:09 Kumar2608

@joschect ping.

dzearing avatar Oct 11 '19 01:10 dzearing