BotFramework-Composer icon indicating copy to clipboard operation
BotFramework-Composer copied to clipboard

[Accessibility][Name, Role, Value - Bot Responses]: Aria-hidden elements contain focusable elements.

Open ShellySoni opened this issue 6 years ago • 6 comments

User Experience: This issue should be resolved for good coding practice as Aria-hidden elements contain focusable elements.

Test Environment: Environment: Chromium Edge (Anaheim) + Narrator Build Version: 2004 (OS Build 19564.1005)​​ Microsoft Edge Version: 82.0.425.0 (Official build) canary (64-bit)​ Test URL: http://localhost:3000/home

Repro Steps:

  1. Open URL: http://localhost:3000/home.
  2. Run K4W tool on the page and observe the issue in Left navigation pane.

Actual Result: ARIA hidden elements contains focusable elements. Screen reader does not announce the selected/non-selected state of all controls in left navigation as screen reader only read like: Bot responses button.

Expected Result: Ensures ARIA hidden elements do not contains focusable elements. Screen reader should read the selected/non-selected state of all controls in left navigation like: Bot responses button selected.

MAS Reference: https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={248054a6-5e68-4771-9e1e-242fb5025730}

Attachment: MAS4.1.2_Left navigation.zip MAS4.1.2_Bot Responses _K4W.zip MAS4.1.2_Bot Responses_Left Navigation_K4W.zip MAS4.1.2_Bot Responses_Left Navigation_Screen reader.zip

ShellySoni avatar Feb 20 '20 07:02 ShellySoni

MAS4 1 2_Left navigation

MAS4 1 2_Bot Responses _K4W

MAS4 1 2_Bot Responses_Left Navigation_K4W

Only last .zip contains a video file. The first three contain .pngs, pasted above.

corinagum avatar Feb 27 '20 05:02 corinagum

This one is interesting. The elements inside the links are still focusable, even though they shouldn't be (the SR seems to think there's a 2xN grid here instead of a column; going down the "left" cells reads them as links, and going down the "right" cells reads them as buttons). Trying to just aria-hide the Buttons isn't working, either.

beyackle avatar Apr 01 '20 21:04 beyackle

@cwhitten As we checked the issue still repro at About button and Bot responses page. image

ashish315 avatar Apr 09 '20 13:04 ashish315

I'm not seeing any issue with the About button myself, but I will address the buttons on the Bot Responses page.

beyackle avatar Apr 09 '20 16:04 beyackle

PR coming out shortly.

image

beyackle avatar Apr 09 '20 16:04 beyackle

As checked the issue is fixed now. So, HCL is closing the issue.

ashish315 avatar Apr 23 '20 19:04 ashish315