-
-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use aria-label for Preferences selector #2181
Use aria-label for Preferences selector #2181
Conversation
In #2167, there is a comment indicating that the reason the security dialog doesn't show up is that the root element has class |
The |
66bacbd
to
d804634
Compare
Now with updated main from upstream
I just upgraded to 2.60.2 and it does not successfully remove the "hide-preferences-window" class on the html tag. Don't know why. Messenger is set to English if it matters. |
Same for 2.60.3 here. |
The selector that was previously used is also used for Security Alerts (including entering in your message sync PIN) and other windows, so it would be difficult to use that style of selector. Using
aria-label=Preferences
seems to be the best way to address this.The current method used
elementReady()
on the first element that matched, which was usually the Sync PIN window, which caused some other conflicts with how the typical code flow would work.The extra "style" code is no longer necessary with the backend design changes. (It's probably been outdated for some time...)
Fixes #2167.