ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

ui5-shellbar "Expanded" is being read on focus of the search button icon

Open bonniegso opened this issue 3 years ago • 0 comments

Bug Description

"Search button expanded" is read upon focus of the search button in the shell bar. When the search input is visible by default, this causes confusion because the user did not take any action to expand the search input.

Expected Behavior

The search button should not read "expanded" in its initial state. One suggestion would be to implement the search button as a toggle button https://sap.github.io/ui5-webcomponents/playground/components/ToggleButton/ so that "pressed" and "unpressed" states are read instead of "expanded" and "collapsed" since it is usually expected that expanded content has some sort of text or menu. If this is not possible, then a way to customize or set the aria-expanded value or customize the aria label for the search button would also suffice.

Steps to Reproduce

  1. Go to 'https://sap.github.io/ui5-webcomponents/playground/components/ShellBar/'
  2. Turn on JAWS screen reader
  3. Navigate to the search button on the first example of the shell bar using your keyboard
  4. Observe that "Search button expanded" is read

Context

  • UI5 Web Components version: 1.6.0
  • OS/Platform: Windows 10 and MacOS Monterey
  • Browser: Google Chrome
  • Affected component: ui5-shellbar

Priority

  • [ ] Low
  • [x] Medium
  • [ ] High
  • [ ] Very High

The priority indicates the severity of the issue. To set the appropriate priority consider the following criteria:

  • Breaks entire application or system - High or Very High
  • Accessibility issue - Medium or High
  • Functional issue - Medium or High
  • Visual issue - Low or Medium

Note: The priority might be re-evaluated by the issue processor.

Stakeholder Info (if applicable)

  • Organization: SAP SuccessFactors
  • Business impact: Accessibility

bonniegso avatar Aug 15 '22 23:08 bonniegso