Skip to content

Commit

Permalink
WEBUI-269: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 b057a41 commit 368dd93
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 368dd93

Please sign in to comment.