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

A11y: fixed aria-current for entry titles #1141

Merged
merged 5 commits into from
Oct 3, 2019

Conversation

akash07k
Copy link
Contributor

Fixed aria-current for entry titles.
Previously the aria-current was getting applied to the whole entry.

public/js/selfoss-ui.js Outdated Show resolved Hide resolved
public/js/selfoss-ui.js Outdated Show resolved Hide resolved
public/js/selfoss-ui.js Outdated Show resolved Hide resolved
public/js/selfoss-ui.js Outdated Show resolved Hide resolved
@akash07k
Copy link
Contributor Author

akash07k commented Oct 1, 2019 via email

@jtojnar
Copy link
Member

jtojnar commented Oct 1, 2019

Hmm, I thought I tested that edge case but apparently not. Will push a fix shortly.

@jtojnar jtojnar added this to the 2.19 milestone Oct 1, 2019
Akash Kakkar and others added 5 commits October 3, 2019 12:48
It was placed to entries instead of the titles it was supposed to be on.
We would attempt to deactivate previous entries, which were null.
When deactivating an entry, we would click its title to collapse it. But when it was already collapsed, the click would reopen it.
Previously, they would throw error
@jtojnar
Copy link
Member

jtojnar commented Oct 3, 2019

Is this good to go?

@jtojnar
Copy link
Member

jtojnar commented Oct 3, 2019

Rebased onto master for clean git history.

@akash07k
Copy link
Contributor Author

akash07k commented Oct 3, 2019

Is this good to go?

Yes, it is fine now, but still the keys are not being identified by the screen readers, I feel that I'll have to look deep down into it and will have to manually expose the commands by some methods. But as of now, we can leave it aside for future.

@jtojnar jtojnar merged commit 3221fff into fossar:master Oct 3, 2019
@jtojnar
Copy link
Member

jtojnar commented Oct 3, 2019

Yeah, they are not very visible for sighted users either. User will either already know the keyboard shortcuts from Google Reader, which we inherited, or read about them on the web page. We should add a help overlay when pressing h.

Not sure how to expose the shortcuts to visually impaired users other than adding buttons for every action there is a shortcut for, and putting aria-keyshortcuts to that. But I am not sure how usable it would be with the 22 shortcuts selfoss currently supports.

@akash07k
Copy link
Contributor Author

akash07k commented Oct 3, 2019 via email

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