Skip to content

Commit

Permalink
WEBUI-269-BACKPORT:Missing focus state on drawer and document tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
shadwal-sinha committed Apr 10, 2024
1 parent 837bc69 commit 00c545d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions elements/nuxeo-app/nuxeo-menu-icon.js
Expand Up @@ -40,6 +40,10 @@ Polymer({
outline: none;
}
:host(:focus-visible) {
outline: auto;
}
:host(.selected) paper-icon-button {
background: rgba(0, 0, 0, 0.2);
color: var(--nuxeo-sidebar-menu-hover);
Expand Down
3 changes: 3 additions & 0 deletions elements/nuxeo-app/nuxeo-page-item.js
Expand Up @@ -52,6 +52,9 @@ Polymer({
:host(:focus) {
background-color: #dedfe3;
}
:host(:focus-visible) {
outline: auto;
}
</style>
<div>[[i18n(label)]]</div>
Expand Down

0 comments on commit 00c545d

Please sign in to comment.