-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Description
Description:
On the latest update to Material Library 1.14.0-alpha06, a new behavior has been introduced, seemingly to improve A11y. Now, DPAD left/right and up/down are used to change the slider value.
Before that version, DPAD left/right were used to change the slider value, while DPAD up/down were not intercepted.
This causes an issue when interacting with devices with no touchscreen (ex: with the remote control of my Nvidia Shield, but I suppose the issue will be indentical on non Tv devices, or when navigating with game controlers).
Let me take an example : with a vertical ListView of settings, the user navigates between each setting with DPAD up/down. Once on an horizontal slider setting, he could change its value with DPAD left/right.
Now, when reaching a slider setting, the user can't escape anymore.
Not only does the current version break the UI navigation, but I found the previous behavior much more clear : an horizontal slider should logically be changed with horizontal inputs (we're moving a thumb horizontally on the slider, so that visually makes sense).
While I can understand that up/down could be offered as a bonus in certain scenarios, this doesn't seem to me that important, even for A11y, at least not at the expense of UI navigation (I can't see the reason, but I suppose there is one that is the cause of this new behavior)
Expected behavior:
up/down DPAD should let the focus go away, or at least be offered as an option.
Source code:
Commit aa623f0
Android API version:
API 30
Material Library version:
Material Android Library 1.14.0-alpha06
Device:
Nvidia Shield Pro 2019