Skip to content

Commit 50c0854

Browse files
authored
Optimisation des rôles main et search (#255)
* fix: add main role on main element for better compatibility * fix: add search role on the whole filters and not only the search input * docs: update changelog
1 parent 2ddd687 commit 50c0854

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Tous les changements notables de Ara sont documentés ici avec leur date, leur c
44

55
## 9/12/2022
66

7+
### Corrections 🐛
8+
9+
- Corrections de rôles `main` et `search` ([#255](https://github.com/DISIC/Ara/pull/255))
10+
711
### Autres changements ⚙️
812

913
- Dans le rapport, déplace l'URL de la page sous son nom ([#257](https://github.com/DISIC/Ara/pull/257))

confiture-web-app/src/App.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ useHead({
8181

8282
<main
8383
id="main"
84+
role="main"
8485
:class="['fr-container fr-mb-12w', { 'fr-mt-9w': !breadcrumbLinks.length }]"
8586
>
8687
<Breadcrumb v-if="breadcrumbLinks.length" :links="breadcrumbLinks" />

confiture-web-app/src/components/AuditGenerationFilters.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function submit() {
5050
<label class="fr-label fr-text--bold fr-mb-1w" for="filters-search">
5151
Rechercher par mots clés
5252
</label>
53-
<div class="fr-search-bar" role="search">
53+
<div class="fr-search-bar">
5454
<input
5555
id="filters-search"
5656
ref="searchInputRef"

confiture-web-app/src/pages/edit/EditAuditStepThreePage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ async function handleDevButtonClick() {
162162

163163
<div class="fr-grid-row fr-grid-row--gutters">
164164
<div class="fr-col-12 fr-col-md-3">
165-
<div class="filters-wrapper">
165+
<div class="filters-wrapper" role="search">
166166
<AuditGenerationFilters :topics="topics" />
167167
</div>
168168
</div>

0 commit comments

Comments
 (0)