Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
I am using PreferenceCategory with app:initialExpandedChildrenCount to hide advanced settings in Chrome's preferences[1]. During an accessibility review the following issue was discovered:
In my testing all collapsed preferences on Android have this issue (for example under the Android Settings > Privacy > Advanced). To reproduce setup Talkback and try to open the Advanced section of the Privacy Settings. After double tapping to expand the section the focus is put on the very first preference on the page not the first preference of the collapsed section.
[1]https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/language/android/java/res/xml/languages_detailed_preferences.xml;drc=b0e85d0fb0ff4cc19e9f471ccd0c3f1fcb36713f;l=49