erblint-github
erblint-github copied to clipboard
Template style checking for GitHub's Ruby projects
Hey 👋🏻 Here's a rule that makes sure that `` elements have a `` element as well. While a `` element doesn't _need_ to have a `` element, it's good...
``` 1. Add a `` inside the SVG, with the alt text/name. 2. Give the `` an ID. 3. Apply `aria-labelledby` to the SVG, pointing to the ID of the...
E.g. ``` ``` These all seem very inappropriate. Could we lint against (some) roles being set?
Context: https://github.com/github/accessibility/issues/892#issuecomment-1077764961 (must be GitHub Staff to access) There is always a better alternative to convey information typically conveyed in a placeholder.
`target="_blank"` is frequently used on external links. However, this can be disorienting for many groups of users who don't expect to be in a new window. Using `target="_blank"` requires extra...
Following up on conversations in: https://github.com/github/erblint-github/pull/4