fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Picker: Narrator not reading "noResultsFoundText"

Open pandey11 opened this issue 7 years ago • 7 comments

pandey11 avatar Jun 10 '19 16:06 pandey11

@pandey11 thank you for reporting the issue. In order to reproduce the problem could you provide a code sample on https://codepen.io/ ? Thank you!

Rajeev-K avatar Jun 10 '19 17:06 Rajeev-K

try this const onFilterChanged = (input?: string): ITag[] | [] => { return []; };
<TagPicker onResolveSuggestions={onFilterChanged} pickerSuggestionsProps={{ noResultsFoundText: "noResultsFoundText"}} /> narrator should read noResultsFoundText if onResolveSuggestions return empty list

pandey11 avatar Jun 10 '19 19:06 pandey11

CodePenlink

pandey11 avatar Jun 10 '19 20:06 pandey11

Thank you, @pandey11. We are investigating.

Rajeev-K avatar Jun 10 '19 20:06 Rajeev-K

@pandey11 after investigating this issue, it looks like the Picker is correctly implemented. Picker sets the role="alert" attribute on the popup which should result in Narrator reading the text. However it looks like there is currently an Edge bug that is causing the text to not be read aloud. See https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/21900325/ When that bug is fixed this should work. Let us know if you need any additional information.

Rajeev-K avatar Jun 13 '19 20:06 Rajeev-K

verified. I'm not able to repro in chrome. Thanks

pandey11 avatar Jun 16 '19 05:06 pandey11

Since we have verified that this is an Edge bug, we'll close this issue, but if you are experiencing any other problems, feel free to open another issue.

Rajeev-K avatar Jun 17 '19 17:06 Rajeev-K