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

Add erb-lint with github accessibility rules #3715

Merged
merged 14 commits into from
Sep 26, 2023
Merged

Conversation

christinach
Copy link
Member

@christinach christinach commented Sep 5, 2023

closes #3714

This PR will be a good resource for accessibility learning, and learning about the specific erb-lint rules. Would appreciate to not squash these commits.

@christinach christinach marked this pull request as draft September 5, 2023 21:06
@sandbergja sandbergja force-pushed the erblint-accessibility branch 2 times, most recently from 81a789e to bbe413a Compare September 21, 2023 19:01
christinach and others added 13 commits September 26, 2023 17:19
Removed title from a tag to satisfy: The title attribute should never be used for an a tag

Co-authored-by: Jane Sandberg <sandbergja@users.noreply.github.com>
Co-authored-by: Liz Garcia <lizgarciao@users.noreply.github.com>
…should have a unique

accessible name via `aria-label` or `aria-labelledby`

Co-authored-by: Jane Sandberg <sandbergja@users.noreply.github.com>
The title attribute should never be used unless for an `<iframe>`
as it is inaccessible for several groups of users

Co-authored-by: Christina Chortaria <christinach@users.noreply.github.com>
* Add aria-label in navigation landmark

Co-authored-by: Jane Sandberg <sandbergja@users.noreply.github.com>
* Update aria-label to sentence case

Co-authored-by: Jane Sandberg <sandbergja@users.noreply.github.com>
* Add title attribute to iframe

Co-authored-by: Christina Chortaria <christinach@users.noreply.github.com>
* removed aria-hidden

Co-authored-by: Christina Chortaria <christinach@users.noreply.github.com>
* Exclude files where the error triggers in an interactive element.

Co-authored-by: Jane Sandberg <sandbergja@users.noreply.github.com>
* Fixed GitHub::Accessibility::NoTitleAttribute
* Exclude false positive GitHub::Accessibility::NoTitleAttribute

Co-authored-by: Jane Sandberg <sandbergja@users.noreply.github.com>
Co-authored-by: Jane Sandberg <sandbergja@users.noreply.github.com>
…in a decorative <svg>

Co-authored-by: Jane Sandberg <sandbergja@users.noreply.github.com>
Co-authored-by: Jane Sandberg <sandbergja@users.noreply.github.com>
Co-authored-by: Jane Sandberg <sandbergja@users.noreply.github.com>
Co-authored-by: Jane Sandberg <sandbergja@users.noreply.github.com>
@coveralls
Copy link

Coverage Status

coverage: 95.437%. remained the same when pulling c5f626c on erblint-accessibility into 7364b07 on main.

Copy link
Member

@sandbergja sandbergja left a comment

Choose a reason for hiding this comment

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

🐬

@sandbergja sandbergja merged commit 00cd2fc into main Sep 26, 2023
11 checks passed
@sandbergja sandbergja deleted the erblint-accessibility branch September 26, 2023 21:45
Copy link
Member

@kevinreiss kevinreiss left a comment

Choose a reason for hiding this comment

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

Thanks for adding this!

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.

Add erblint-github accessibility rules to orangelight
4 participants