Skip to content
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

[LinkLab] Improve a11y on noty feed #4842

Merged
merged 1 commit into from
Jul 25, 2024
Merged

[LinkLab] Improve a11y on noty feed #4842

merged 1 commit into from
Jul 25, 2024

Conversation

estrattonbailey
Copy link
Member

@estrattonbailey estrattonbailey commented Jul 25, 2024

There were two parts to this:

  • disabling accessibility on the avi wasn't actually necessary bc of the accessible Link that wraps this context
  • the Link didn't have a label, so VoiceOver was looking for content within to read out

The main improvement here is just to construct a custom a11yLabel for VoiceOver to read out when the outer Link is focused. Once expanded, each Link is in-turn focusable, and reads out correctly. I also applied the a11yLabel to the inner text so it reads nicely too.

We could further improve this by reading out "56 min ago" instead of the full date, but we don't have facilities in the codebase for this exact use case right now.

RPReplay_Final1721944877.MP4

Copy link

render bot commented Jul 25, 2024

Copy link

Old size New size Diff
7.01 MB 7.01 MB 66 B (0.00%)

@estrattonbailey estrattonbailey merged commit 043e5ce into main Jul 25, 2024
6 checks passed
estrattonbailey added a commit that referenced this pull request Jul 31, 2024
* origin/main: (30 commits)
  Only show "followed you back" when appropriate (#4849)
  [Web] Retrigger onEndReached if needed when content height changes (#4859)
  Remove unused NoopFeedTuner (#4856)
  useDedupe callback (#4855)
  [Video] Uploads (#4754)
  Make label required in link components (#4844)
  Boolean filter improvement alternative: TS upgrade (#4840)
  Add label to profile card (#4843)
  Improve a11y on noty feed (#4842)
  Add labels in feed card (#4836)
  Add labels to mod details dialog (#4839)
  Add labels to a few missing places (#4838)
  Add labels in list card (#4837)
  Refactor feed slices (#4834)
  `true` (#4833)
  Replace `import hairlineWidth =` with const (#4831)
  [Videos] Video player - PR #1 - basic player (#4731)
  Bump 1.90 (#4832)
  Fix sloppy filter(Boolean) types (#4830)
  Fuggedaboudit (#4829)
  ...
estrattonbailey added a commit that referenced this pull request Jul 31, 2024
* origin/main: (37 commits)
  Only show "followed you back" when appropriate (#4849)
  [Web] Retrigger onEndReached if needed when content height changes (#4859)
  Remove unused NoopFeedTuner (#4856)
  useDedupe callback (#4855)
  [Video] Uploads (#4754)
  Make label required in link components (#4844)
  Boolean filter improvement alternative: TS upgrade (#4840)
  Add label to profile card (#4843)
  Improve a11y on noty feed (#4842)
  Add labels in feed card (#4836)
  Add labels to mod details dialog (#4839)
  Add labels to a few missing places (#4838)
  Add labels in list card (#4837)
  Refactor feed slices (#4834)
  `true` (#4833)
  Replace `import hairlineWidth =` with const (#4831)
  [Videos] Video player - PR #1 - basic player (#4731)
  Bump 1.90 (#4832)
  Fix sloppy filter(Boolean) types (#4830)
  Fuggedaboudit (#4829)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants