fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

MessageBar A11y Pass

Open TestAccessibilityGIT opened this issue 7 years ago • 6 comments

Tracking all of the issues brought up with the 1/22 accessibility pass on MessageBar control Details on individual bugs can be found on SharePoint

  • [x] Bug1: Bug1: [Accessibility][Visual requirements]: Luminosity ratio of link 'Visit our website' under 'Error, single line, with dismiss button - custom styles' section is less than 4.5:1 ratio.
  • [x] Bug2: [Accessibility][Keyboard navigation]: Focus indicator is not properly visible on 'visit our website' link.
  • [x] Bug3: [Accessibility][Screen Reader]: Narrator in scan mode doesn't announce the role of 'See More' , 'Close ('X')' buttons and 'visit our website' link under 'Blocked, single line, with dismiss button and truncated text - custom styles' section. "
  • [x] Bug4: [Accessibility][Screen Reader]: Narrator doesn't announce the state of 'See More' button while navigating with tab key.
  • [x] Bug5: [Accessibility][Keyboard Navigation]: Text is disappearing from the screen when keyboard focus moves to the 'See more' button. "
  • [x] Bug6: [Accessibility][ Supporting the platform]: Controls present in the ‘MessageBar’ are not adopting high contrast settings. "
  • [x] Bug7: [Accessibility][Suggestion]: Appeared message bar should have ‘Aria-live’ property and region landmark. "

Component: MessageBar
@micahgodbolt

TestAccessibilityGIT avatar Jan 23 '19 05:01 TestAccessibilityGIT

Please add the following issue on Message w.r.t. Screen Reader When we navigate to the MessageBar while using Narrator with Caps Key + Arrow, it announces as "Status" and we have to click Caps Key + Arrow once again to read the text.

For example Narrator reads the following for the example in https://developer.microsoft.com/en-us/fabric#/controls/web/messagebar

`Show code, button, Info/Default MessageBar,

status,

Info lorem ipsum dolor sit amet, a elit sem interdum consectetur adipiscing elit.,

link, Visit our website.,

Error MessageBar - single line, with dismiss button,

l

Search or enter web address, edit, https://developer.microsoft.com/en-us/fabric#/controls/web/messagebar, navigation landmark,`

The reading out of "status" is not clear. It should announce the text present on the page on the first caps+arrow key, the word "Status" should not be announced.

Hardhik avatar Jul 10 '19 10:07 Hardhik

2 - Seems to be working now. image

micahgodbolt avatar Sep 23 '19 23:09 micahgodbolt

6 - high contrast is working fine

image

image

image

micahgodbolt avatar Sep 30 '19 18:09 micahgodbolt

Looks like everything is resolved by my upcoming PR.

micahgodbolt avatar Sep 30 '19 18:09 micahgodbolt

Removed the custom styles section as it was full of a11y issues and didn't serve any specific purpose.

micahgodbolt avatar Sep 30 '19 18:09 micahgodbolt

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

Handy links:

msft-github-bot avatar Oct 07 '19 12:10 msft-github-bot