FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

Improve search filter accessibility

Open kommunarr opened this issue 2 years ago • 1 comments

Improve search filter accessibility

Pull Request Type

  • [x] Bugfix

Related issue

resolves accessibility issue outlined here, and a handful of other accessibility issues with the filter icon

Description

  • Adds title and aria-pressed attribute to search filter icon, ensuring screenreaders will be aware of both what it is and when the filters are opened
  • Programmatically applies focus to the search filter popup when opened from the icon button
  • Updates radio button styling to show the --accent-active-color color on hover and focus, resolving issue where currently focused radio button is impossible to visually determine
  • Updates filter button styling to appear visibly pressed when the filter popup is open

Screenshots

Screenshot_20230829_215711

Testing

1. Confirm that the title "Search Filters" appears on hover of the filter icon.
2. Click the filter icon. Verify that the icon styling has changed.
3. Verify that the focus is now in the search filter popup.
4. Verify that the currently focused or hovered radio button changes color to the `--accent-active-color`.
5. Verify that the Search Filters icon appears has distinct styling when the search filters popup is open, and vice versa.

Desktop

  • OS: OpenSUSE Tumbleweed
  • OS Version: 2023xxxx
  • FreeTube version: 0.19.0

kommunarr avatar Aug 30 '23 03:08 kommunarr

Boosting this now that playlists PR is merged

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Apr 17 '24 17:04 github-actions[bot]

Conflicts have been resolved. A maintainer will review the pull request shortly.

github-actions[bot] avatar Apr 18 '24 06:04 github-actions[bot]

I noticed the removal of the WIP label. Does that mean this is ready for review

Does the PR description need updating to reflect latest changes? Just making sure we cover everything in testing and all the changes are listed

It should be up-to-date now

kommunarr avatar Apr 18 '24 21:04 kommunarr

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Apr 19 '24 01:04 github-actions[bot]

Conflicts have been resolved. A maintainer will review the pull request shortly.

github-actions[bot] avatar Apr 20 '24 13:04 github-actions[bot]

z-index issue in delete playlist prompt image

Add video to playlist prompt > create playlist = error + add to playlist prompt invisible during create playlist (which is fine in function but feels strange) image image

PikachuEXE avatar Apr 21 '24 01:04 PikachuEXE

Yeah, you're right about the idea to make a file with these z-indexes, I'm losing my mind

kommunarr avatar Apr 21 '24 02:04 kommunarr

I'm losing my mind

image

PikachuEXE avatar Apr 23 '24 00:04 PikachuEXE

@absidue @MarmadileManteater @ChunkyProgrammer

My suggested ordering for reviewing my open PRs: this -> #4374 / #4970 -> #4949 -> #5013 / #5029

kommunarr avatar Apr 27 '24 18:04 kommunarr

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Apr 29 '24 16:04 github-actions[bot]

Conflicts have been resolved. A maintainer will review the pull request shortly.

github-actions[bot] avatar Apr 30 '24 12:04 github-actions[bot]