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

Configures dashboard graphs for better accessibility #3266

Merged
merged 1 commit into from
Sep 13, 2018

Conversation

kdid
Copy link
Contributor

@kdid kdid commented Sep 12, 2018

Fixes #3040

  • Presents corresponding tabular data for each graph present in the Admin Dashboard, for screen readers only
  • Hides .svg graphs from screen readers
  • Does make some updates to the translations/internationalization ( @no-reply )

@samvera/hyrax-code-reviewers

Hyrax.statistics.repositoryGrowth = <%== repository_growth %>
//]]>
</script></div>
<table class="table table-striped sr-only text-left">
Copy link
Member

Choose a reason for hiding this comment

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

This looks really good. The only suggestion I'd have to finish it off is aria labeling each table. For example:

<table aria-label="<%= t('.repository_growth.subtitle') %>" class="table table-striped sr-only text-left">

However that translation title sneaks in there...

Copy link
Member

Choose a reason for hiding this comment

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

@no-reply no-reply merged commit 2596864 into master Sep 13, 2018
@no-reply no-reply deleted the 3040-dashboard-graphs branch September 13, 2018 16:48
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.

3 participants