Skip to content

Commit

Permalink
show focus indicator on toggle buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
bellangerq committed Mar 30, 2023
1 parent e86f88b commit d9cc8ff
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions confiture-web-app/src/components/AuditGenerationFilters.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ watch(
v-if="!showFilters"
ref="displayFiltersRef"
type="button"
class="fr-btn fr-btn--sm fr-btn--tertiary fr-icon-arrow-right-s-line-double"
class="fr-btn fr-btn--sm fr-btn--tertiary fr-icon-arrow-right-s-line-double toggle-column-button"
@click="displayFilters"
>
<span class="sr-only">Afficher la colonne des filtres</span>
Expand All @@ -81,7 +81,7 @@ watch(
<button
ref="hideFiltersRef"
type="button"
class="fr-btn fr-btn--sm fr-btn--tertiary fr-icon-arrow-left-s-line-double"
class="fr-btn fr-btn--sm fr-btn--tertiary fr-icon-arrow-left-s-line-double toggle-column-button"
@click="hideFilters"
>
<span class="sr-only">Cacher la colonne des filtres</span>
Expand Down Expand Up @@ -213,6 +213,12 @@ watch(
justify-content: space-between;
margin-bottom: 2rem;
}
.toggle-column-button:focus {
outline: 2px solid #0a76f6;
outline-offset: -2px;
}
.evaluated-criteria-filter {
border-top: 1px solid var(--border-default-grey);
border-bottom: 1px solid var(--border-default-grey);
Expand Down

0 comments on commit d9cc8ff

Please sign in to comment.