Skip to content

Commit

Permalink
fix: change button and link for accessibilite
Browse files Browse the repository at this point in the history
  • Loading branch information
abelkhay committed Nov 27, 2023
1 parent ae23f06 commit 9706f4c
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,15 @@
</button>
</div>
<div class="col">
<button
<a
role="button"
type="button"
class="btn btn-tile px-md-0 py-md-4 p-2 d-flex flex-md-column flex-row"
(click)="sendByEmail.emit($event)">
<span class="ri-circled bg-primary text-light fw-normal">
<i class="ri-mail-send-line" aria-hidden="true"></i>
</span>
<b class="mt-md-2 mb-md-0 ms-md-0 ms-2">Envoyer par mail</b>
</button>
</a>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
Webinaires : Mettre à jour vos données
</span>
</a>
<button slot="footer" type="submit" form="erreurGroup" class="btn btn-primary">
<button role="link" slot="footer" type="submit" form="erreurGroup" class="btn btn-primary">
<i class="ri-mail-send-line" aria-hidden="true"></i>
Signaler l'erreur
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</div>
</div>
</form>
<button slot="footer" type="submit" form="sendByEmailForm" class="btn btn-primary">
<button role="link" slot="footer" type="submit" form="sendByEmailForm" class="btn btn-primary">
<i class="ri-mail-send-line" aria-hidden="true"></i>
Envoyer
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ <h1 class="h2 text-center fw-bold mt-sm-5 mt-3">
</fieldset>
</form>
<div class="text-center mt-4">
<a class="btn btn-primary mx-3" [routerLink]="['..', 'disponibilite']" queryParamsHandling="preserve">
<a role="button" class="btn btn-primary mx-3" [routerLink]="['..', 'disponibilite']" queryParamsHandling="preserve">
Valider
<i class="ri-arrow-right-s-line" aria-hidden="true"></i>
</a>
Expand Down
4 changes: 2 additions & 2 deletions src/features/orientation/pages/besoin/besoin.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ <h2 class="text-muted h6 fw-bold mb-0 text-uppercase">Manque de matériel</h2>
</ng-container>
<div class="text-center mt-4">
<div class="text-muted mb-2">Vous ne trouvez pas votre besoin ?</div>
<button class="btn btn-sm btn-secondary d-inline-block mb-2" (click)="onFilterNotFound()">
<a role="button" class="btn btn-sm btn-secondary d-inline-block mb-2" (click)="onFilterNotFound()">
<i class="ri-mail-line me-2 text-right" aria-hidden="true"></i>
<b>Contactez-nous !</b>
</button>
</a>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h1 class="h2 text-center fw-bold mt-sm-5 mt-3">
</div>
</form>
<div class="text-center mt-4">
<a class="btn btn-primary mx-3" [routerLink]="['..', 'accessibilite']" queryParamsHandling="preserve">
<a role="button" class="btn btn-primary mx-3" [routerLink]="['..', 'accessibilite']" queryParamsHandling="preserve">
Valider
<i class="ri-arrow-right-s-line" aria-hidden="true"></i>
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/root/configuration/data.configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ export const DATA_COORDINATEURS_CONFIGURATION: DataCoordinateursConfiguration =
export const DATA_TOKEN: InjectionToken<DataConfiguration> = new InjectionToken<DataConfiguration>('data.configuration');

export const DATA_CONFIGURATION: DataConfiguration = {
lieuxDeMediationNumerique: '/assets/data/lieux-inclusion-numerique.json'
lieuxDeMediationNumerique: 'https://www.data.gouv.fr/fr/datasets/r/bdfef095-f3a9-4e66-84bb-ea05d5c9c3a5'
};

0 comments on commit 9706f4c

Please sign in to comment.