Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Change the inserter search result message from assertive to polite #13388
This PR seeks to improve screen readers behavior when using the Inserter. For more details please refer to the related issue #13387.
Please first test on current master:
Switch to this branch
jorgefilipecosta left a comment
I'm not sure of the reason why a message using 'assertive' option disappears faster, but I followed the test steps, and I verified that before the message disappeared almost immediately on voice over without being totally spoken and now the message is completely spoken.
Thanks @jorgefilipecosta. To clarify: it's the assertive message "61 results found" that was interrupting the screen reader while it was reading the search field label, so "Search for a block" wasn't announced.
With this change, the search field label is read out first, followed by the number of results.