-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Change item list highlight color to white #51447
Conversation
Favorite items are also colored white |
It looks like other elements on the panel are also highlighted in white ("Items", total count, etc). Would it be possible to highlight the selected item in yellow instead? Edit: Just to clarify, because originally the user had issues distinguishing between different elements that used the same highlight. |
Or other things such as those other elements + favorite items could be recolored (thus keeping things matching to the inventory and AIM UIs). |
Favorite items are colored white in inventory and AIM as well. This accessibility problem is supposedly solved by |
94b9bcb
to
2f686d8
Compare
After taking a closer look at the inventory UI, I noticed that the selected item is white-on-blue. I changed the item list UI to match. This makes the selected item look different from favorite items. |
I added a |
63f3dd6
to
f23d447
Compare
Changed the |
It looks good to me, but you might want to ask someone who uses screen reader to test it. |
I would test it myself, but I couldn't find any instructions on how to set up a screen reader for CDDA. |
To test |
Maybe switch the refreshing order of |
Those menus haven't been updated for screen reader support, at least according to the linked issue. In my experience the screen reader didn't stop at window boundaries though so it wasn't very useful at all. That's possibly just a configuration issue though. |
[We should probably be discussing this in an Issue like #26885 rather than in a merged PR thread but oh well] When I was playing with Orca I also noticed that it reads "past" the end of what it should have read, and can't handle wrapped text at all, so while placing the cursor correctly will help, it really doesn't help that much overall. |
* Change item list highlight color to white * Position the cursor on the selected item in the item list
Summary
Interface "Change item list highlight color to white"
Purpose of change
Fixes #51443
Improve accessibility and UI consistency
Describe the solution
change a few lines in
game::list_items
for the color changeadd a
wmove
call to position the cursor on the selected item for accessibilityDescribe alternatives you've considered
Testing
Before:
After:
Additional context
I'm sure someone will complain because it's changing, but white-on-blue is what we use to highlight the "selected item" in the inventory UI and AIM, so this improves consistency.