fixed issue to where screen reader reads all buttons when opening datepicker#152705
fixed issue to where screen reader reads all buttons when opening datepicker#152705auto-submit[bot] merged 16 commits intoflutter:masterfrom
Conversation
|
Yes a PR like this need a test, because the behavior is changed. |
|
Added test |
ef3baaf to
50dbe75
Compare
|
Removing it will also cause mobile a11y behavior to change. Semantics As for SR, i do agree reading out all buttons is too much, does SR always read out all buttons if they are at the same level? |
|
@Hangyujin thank you for the feedback. I went ahead and reverted the change and instead added a Also added Also removed Before: https://screencast.googleplex.com/cast/Njc0Mzc1MDA5MTk5NzE4NHw2NTU5ODI4YS0xNA |
|
I'm also having some trouble creating a test case to reflect these new changes, if you have any ideas on what direction to take for this it would be greatly appreciated! :) |
|
The new changes looks good to me! For tests: As for I tried on my mobile phone and from the semantics tree it looks like adding |
3794775 to
7955c1e
Compare
7955c1e to
7f24c10
Compare
…epicker (flutter#152705) removed container=true property from Semantics wrapper of datepicker dialog. This prevents the screen reader from reading every button in the datepicker dialog whenever a user opens it, reducing SR noise. Before: https://screencast.googleplex.com/cast/Njc0Mzc1MDA5MTk5NzE4NHw2NTU5ODI4YS0xNA After: https://screencast.googleplex.com/cast/NTYxMDUwOTIxMzYzMDQ2NHxjOWQ2M2YzNy1hYQ fixes b/345297872 NOTE: Please let me know if a test is needed for this, since it is only deleting code.
removed container=true property from Semantics wrapper of datepicker dialog. This prevents the screen reader from reading every button in the datepicker dialog whenever a user opens it, reducing SR noise.
Before: https://screencast.googleplex.com/cast/Njc0Mzc1MDA5MTk5NzE4NHw2NTU5ODI4YS0xNA
After: https://screencast.googleplex.com/cast/NTYxMDUwOTIxMzYzMDQ2NHxjOWQ2M2YzNy1hYQ
fixes b/345297872
NOTE: Please let me know if a test is needed for this, since it is only deleting code.
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.