Modify 'Use arrow keys...' aria label - doesn't work in Chrome, and remove on mobile
Version
4.12 pre-release
Describe the bug
When using NVDA and Chrome, the aria-label 'Use arrow keys' is not spoken when focused on 'End of transcript'
Steps to reproduce
- Load Web Chat in Chrome
- Type any activity
- Turn on NVDA
- Press Tab two times from sendbox
- NVDA says 'End of transcript' but not 'Use arrow keys...'
Expected behavior
Similar to Narrator x Edge, 'Use arrow keys...' aria-label should be spoken
WORK ITEMS:
- 'Use arrow keys...' should be spoken by NVDA on Chrome
- Remove the additional text "press arrow keys to navigate" when we are on a mobile device.
- 'Press Enter to interact' text when there is an attachment should be removed on mobile [Bug]
We also need this issue to be fixed, please prioritize
Thanks for the report.
The chat history was redesigned after this report. "Use arrow keys…" is no longer the label of the "End of transcript" element. The chat history itself is a focusable group labelled "Chat history, press arrow keys to navigate.", which is its accessible name, so screen readers read it when the chat history receives focus with Tab (item 1). The terminator is now "End of chat history".
Items 2 and 3 ask to drop the arrow-key and "Click to interact" hints on mobile. Web Chat does not know whether a keyboard is attached, and many mobile users use one, so it does not sniff the device to hide these hints. Hints that do not apply to touch are extra words, not missing information (WCAG 1.3.1). Hosts can change these strings with overrideLocalizedStrings (TRANSCRIPT_ARIA_LABEL_ALT, ACTIVITY_INTERACTIVE_FOOTNOTE_ALT).
We are closing this issue as fixed by the chat history redesign for item 1, and as won't fix for items 2 and 3. Please reopen if NVDA does not read the chat history label on focus.