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

client: Improve screen reader navigability of sources #1345

Merged
merged 8 commits into from
Jul 13, 2022
Merged

Conversation

jtojnar
Copy link
Member

@jtojnar jtojnar commented Jul 12, 2022

  • Turn sources into a list items rather than forms, only the inside is an actual form.
  • Turn the source titles into headings.
  • Mark the edit button as collapsed.
  • Add a placeholder when no sources are present.

Fixes: #1344

- Turn sources into a list items rather than forms, only the inside is an actual form.
- Turn the source titles into headings.
- Mark the edit button as collapsed.
- Add a placeholder when no sources are present.
This would just potentially clutter the accessibility tree.

Also do not show any other content when loading.
It should fall back to font size.
This was missed in 0432fed

The menu element is removed from DOM by the time the deletion handler
run so jQuery’s `parents()` function will not be able to locate the form.

Let’s store an explicit reference to the form and pass it to the event handler.
@jtojnar jtojnar merged commit 54a0bca into master Jul 13, 2022
@jtojnar jtojnar deleted the a11y-sources branch July 13, 2022 18:43
@akash07k
Copy link
Contributor

Thanks @jtojnar
Really good work.
I'm gonna try Selfoss today after the gap of long 2.5 years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Accessibility of sources-list
2 participants