Skip to content

Commit

Permalink
Merge pull request #1296 from cdrini/fix/a11y
Browse files Browse the repository at this point in the history
Make focus outlines show on BR buttons
  • Loading branch information
cdrini authored Jan 5, 2024
2 parents 2dafc4f + 9fdedeb commit a5eb2c1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 13 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"private": false,
"dependencies": {
"@internetarchive/ia-activity-indicator": "^0.0.4",
"@internetarchive/ia-item-navigator": "^2.0.3",
"@internetarchive/ia-item-navigator": "^2.1.0",
"@internetarchive/icon-bookmark": "^1.3.4",
"@internetarchive/icon-dl": "^1.3.4",
"@internetarchive/icon-edit-pencil": "^1.3.4",
Expand Down
3 changes: 0 additions & 3 deletions src/css/_BRmain.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
font-weight: 700;
color: #dedede;
}
a {
outline: none;
}
button {
cursor: pointer;
}
Expand Down
2 changes: 1 addition & 1 deletion src/css/_BRnav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
border: none;
border-radius: 2px;
background: transparent;
outline: none;

@media (hover: hover) {
/* styles to apply on devices that support hover */
&:hover .BRtooltip {
Expand Down
1 change: 0 additions & 1 deletion src/css/_BRsearch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@
max-width: 160px;
height: 100%;
color: white;
outline: none;
border: none;
padding: 3px 0px 3px 10px;
margin: 0;
Expand Down

0 comments on commit a5eb2c1

Please sign in to comment.