fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

SearchBox A11y Pass

Open TestAccessibilityGIT opened this issue 7 years ago • 11 comments

Tracking all of the issues brought up with the 12/28 accessibility pass on SearchBox control Details on individual bugs can be found on SharePoint

  • [x] Bug1: [Accessibility][Functional]: User is not able to search any data in search box as it is not working as per it's functionality.
  • [x] Bug2: [Accessibility][Usable]: After clearing the text written in 'Default Search box', narrator scan mode focus gets stuck while moving forward using 'Down' arrow key.
  • [x] Bug3: [Accessibility][Usable]: Narrator scan mode focus indicator is not visible on the 'Clear text' button of any 'search' edit field.
  • [ ] Bug4: [Accessibility][Supporting the platform]: Both 'Disable' and ' Enable' Search boxes are visible in same color in high contrast mode. tracked in #10624

Component: SearchBox @micahgodbolt

TestAccessibilityGIT avatar Dec 29 '18 01:12 TestAccessibilityGIT

bug 1 is not really a bug. this 'search' control is only the UI to submit a search query. The application is required to actually wire up the search and return results.

micahgodbolt avatar Jan 02 '19 23:01 micahgodbolt

Scan mode only highlights the text of a button. Since icon buttons have no text you won't get any visual indicator in scan mode. This repros on the icon button page too. If this is actually a requirement (are visual indicators required?), then it'd be something to resolve in the icon button.

micahgodbolt avatar Jan 03 '19 00:01 micahgodbolt

yeah, seems there isn't a color difference for disabled in high contrast.

image

micahgodbolt avatar Jan 03 '19 00:01 micahgodbolt

@betrue-final-final do you have designs for disabled search in high contrast. we simply don't have anything specified, and the disabled border/bg show up the same color as the enabled ones.

micahgodbolt avatar Jan 03 '19 00:01 micahgodbolt

For Bug 3, though it's a usability issue but if focus gets visible on icon button that will enhance the usability experience.

TestAccessibilityGIT avatar Jan 03 '19 00:01 TestAccessibilityGIT

i agree that it'd be useful, but even so, this is an icon button issue, and trying to fix it in one place won't solve the systemic problem. we also need to solve it for command bar, and any other control that uses icon buttons

micahgodbolt avatar Jan 03 '19 01:01 micahgodbolt

@TestAccessibilityGIT turns out that high contrast mode doesn't differentiate between enabled and disabled inputs

(normal <input /> vs <input disabled /> MicrosoftTeams-image (4)

Is this a high contrast bug, not Fabric bug?

micahgodbolt avatar Sep 23 '19 23:09 micahgodbolt

Bug3: [Accessibility][Usable]: Narrator scan mode focus indicator is not visible on the 'Clear text' button of any 'search' edit field. We verify those bugs in below Test Enviourment and found issue is fixed. Test Environment: OS: Version: RS5_Prerelease(1903 OS Build 18990.1) URL: https://fabricweb.z5.web.core.windows.net/oufr/7.35.0/#/examples/searchbox Edge Browser Version: Microsoft Edge: 44.18990.1.0 Microsoft EdgeHTML: 18.18990 Chrome Browser Version: Chrome Version: 76.0.3809.132

999-Dev avatar Sep 24 '19 11:09 999-Dev

bug 1 is not really a bug. this 'search' control is only the UI to submit a search query. The application is required to actually wire up the search and return results.

We verify those bugs in below Test Enviourment.

Test Environment: OS: Version: RS5_Prerelease(1903 OS Build 18990.1) URL: https://fabricweb.z5.web.core.windows.net/oufr/7.35.0/#/examples/searchbox Edge Browser Version: Microsoft Edge: 44.18990.1.0 Microsoft EdgeHTML: 18.18990 Chrome Browser Version: Chrome Version: 76.0.3809.132

As per comment closing the bug.

999-Dev avatar Sep 24 '19 11:09 999-Dev

bug 2 is not actually a bug. As per Amit, when narrator enters an input (as it does as soon as you clear the search) scan mode is turned off. SO user would be expected to start typing, or turn scan mode back on and continue.

micahgodbolt avatar Sep 25 '19 18:09 micahgodbolt

bug 2 is not actually a bug. As per Amit, when narrator enters an input (as it does as soon as you clear the search) scan mode is turned off. SO user would be expected to start typing, or turn scan mode back on and continue.

Agreed with the comment. Hence closing the bug.

999-Dev avatar Sep 26 '19 05:09 999-Dev