Skip to content

Commit

Permalink
Merge pull request #50 from yzen/bug-1162040
Browse files Browse the repository at this point in the history
Bug 1162040 - adding an aria-label rule in case a web-app/site does n…
  • Loading branch information
wilsonpage committed Oct 6, 2015
2 parents 150d3fc + fb3a23e commit a1c878f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions gaia-icons-embedded.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions gaia-icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
font-size: 30px;
-webkit-font-smoothing: antialiased;
}
[data-icon]:not([data-l10n-id]):not([aria-hidden="true"]):before {
[data-icon]:not([data-l10n-id]):not([aria-label]):not([aria-hidden="true"]):before {
/* Highlight cases where icons are not localized and still visible to screen
reader */
background: rgba(255, 0, 0, 0.4);
}
[data-icon]:not([data-l10n-id]):not([aria-hidden="true"]):after {
[data-icon]:not([data-l10n-id]):not([aria-label]):not([aria-hidden="true"]):after {
background: #333;
color: #fff;
position: absolute;
Expand Down
4 changes: 2 additions & 2 deletions templates/gaia-icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
font-size: 30px;
-webkit-font-smoothing: antialiased;
}
[data-icon]:not([data-l10n-id]):not([aria-hidden="true"]):before {
[data-icon]:not([data-l10n-id]):not([aria-label]):not([aria-hidden="true"]):before {
/* Highlight cases where icons are not localized and still visible to screen
reader */
background: rgba(255, 0, 0, 0.4);
}
[data-icon]:not([data-l10n-id]):not([aria-hidden="true"]):after {
[data-icon]:not([data-l10n-id]):not([aria-label]):not([aria-hidden="true"]):after {
background: #333;
color: #fff;
position: absolute;
Expand Down

0 comments on commit a1c878f

Please sign in to comment.