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

Fix unlabeled image buttons for accessibility #586

Merged
merged 6 commits into from
Oct 23, 2020

Conversation

ivysko
Copy link
Contributor

@ivysko ivysko commented Oct 3, 2020

Changes

  • Add setContentDescription to the buttons unlabeled: those to sort the movies/musics, those before the play/resume (put to favorite, mark the media viewed…) and those in the playback overlay.
  • Add 3 strings to translate, lbl_pause, lbl_audio_track and lbl_subtitle_track, because I didn't find any string that would have matched.

Issues

Fixes #418

@ivysko
Copy link
Contributor Author

ivysko commented Oct 4, 2020

I think I just made a mistake by fetching and rebasing the upstream commits. Should I git rebase and drop the upstream commits?

@nielsvanvelzen
Copy link
Member

Yes, please do

@nielsvanvelzen
Copy link
Member

Hi @jemlule, are you still interested in finishing this pull request?

@ivysko
Copy link
Contributor Author

ivysko commented Oct 19, 2020

Yes I am! Sorry for being inactive.

Copy link
Contributor

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 3
           

See the complete overview on Codacy

@@ -353,6 +353,9 @@ private void prepareBackgroundManager() {
getActivity().getWindowManager().getDefaultDisplay().getMetrics(mMetrics);
}

protected ImageButton mSortButton;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -353,6 +353,9 @@ private void prepareBackgroundManager() {
getActivity().getWindowManager().getDefaultDisplay().getMetrics(mMetrics);
}

protected ImageButton mSortButton;
protected ImageButton mSearchButton;
protected ImageButton mSettingsButton;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -353,6 +353,9 @@ private void prepareBackgroundManager() {
getActivity().getWindowManager().getDefaultDisplay().getMetrics(mMetrics);
}

protected ImageButton mSortButton;
protected ImageButton mSearchButton;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nielsvanvelzen nielsvanvelzen merged commit 092741f into jellyfin:master Oct 23, 2020
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.

Unlabeled buttons in application's interface and player activity
3 participants