Skip to content
Permalink
Browse files

A11y: fix focus selectors overriding focus-visible (#5513)

* A11y: fix focus selectors overriding focus-visible

* undo erroneous formatting
  • Loading branch information
adamconroy committed Oct 7, 2019
1 parent ca0f786 commit 42cdf0835be539d493ce9dc49dde5425b8aa21e4
@@ -236,7 +236,7 @@ body.windows .breadcrumb table.path span {
margin-top: 0px;
}

button.browse:focus {
button.browse:focus:not(.focus-visible) {
outline:0;
}

@@ -62,7 +62,7 @@
padding: 6px 2px 4px 2px;
}

.section:focus {
.section:focus:not(.focus-visible) {
outline:none;
}

@@ -75,7 +75,7 @@
background: #D6E9F8;
}

.activeSection:focus {
.activeSection:focus:not(.focus-visible) {
outline:none;
}

@@ -76,7 +76,7 @@
color: #0000AA;
}

.rstudio-HyperlinkLabel:focus {
.rstudio-HyperlinkLabel:focus:not(.focus-visible) {
outline: none;
}

@@ -92,7 +92,7 @@
background-color: transparent;
}

.rstudio-HelpButton:focus {
.rstudio-HelpButton:focus:not(.focus-visible) {
outline:none;
}

@@ -103,7 +103,7 @@
background-color: transparent;
}

.rstudio-ImageButton:focus {
.rstudio-ImageButton:focus:not(.focus-visible) {
outline:none;
}

@@ -1312,7 +1312,7 @@ body.windows .toolbar {
overflow: hidden;
}

.toolbarButton:focus {
.toolbarButton:focus:not(.focus-visible) {
outline: none;
}

@@ -34,7 +34,7 @@
width: 100%;
}

.shortcutPanel:focus
.shortcutPanel:focus:not(.focus-visible)
{
outline:none
}
@@ -29,7 +29,7 @@
-webkit-box-sizing: border-box;
}

.outerPanel:focus
.outerPanel:focus:not(.focus-visible)
{
outline: none;
}
@@ -42,7 +42,7 @@
width: 100%;
}

.listPanel:focus
.listPanel:focus:not(.focus-visible)
{
outline: none;
}
@@ -83,7 +83,7 @@
background: #DAE7F6;
}

.wizardPageSelectorItem:focus {
.wizardPageSelectorItem:focus:not(.focus-visible) {
outline: none;
}

@@ -40,7 +40,7 @@
cursor: default;
}

.objectGrid td:focus
.objectGrid td:focus:not(.focus-visible)
{
outline: none;
}
@@ -10,7 +10,7 @@
margin-left: 0;
}

.panel input:focus {
.panel input:focus:not(.focus-visible) {
outline: none;
}

@@ -24,7 +24,7 @@ xmlns:g="urn:import:com.google.gwt.user.client.ui">
opacity: 1;
}

.thumbnail:focus {
.thumbnail:focus:not(.focus-visible) {
outline: none;
}

@@ -44,7 +44,7 @@
}

.xterm.focus,
.xterm:focus {
.xterm:focus:not(.focus-visible) {
outline: none;
}

@@ -12,5 +12,5 @@

.js-focus-visible .focus-visible, input[type="checkbox"].focus-visible {
outline: goldenrod solid 2px;
outline-offset: -2px;
outline-offset: -1px;
}

0 comments on commit 42cdf08

Please sign in to comment.
You can’t perform that action at this time.