mirror of
https://github.com/suitenumerique/docs.git
synced 2026-04-25 17:15:01 +02:00
♿️(frontend) add nb accesses in share button aria-label
Expose nb_accesses_direct to screen readers when share button shows count.
This commit is contained in:
@@ -9,11 +9,12 @@ and this project adheres to
|
||||
### Changed
|
||||
|
||||
- ♿️(frontend) ensure doc title is h1 for accessibility #2006
|
||||
- ♿️(frontend) add nb accesses in share button aria-label #2017
|
||||
|
||||
### Fixed
|
||||
|
||||
- 🐛(frontend) fix image resizing when caption #2045
|
||||
- 🙈(docker) add **/.next to .dockerignore #2034
|
||||
- 🙈(docker) add \*\*/.next to .dockerignore #2034
|
||||
- ♿️(frontend) fix share modal heading hierarchy #2007
|
||||
- ♿️(frontend) fix Copy link toast accessibility for screen readers #2029
|
||||
- ♿️(frontend) fix modal aria-label and name #2014
|
||||
|
||||
@@ -55,7 +55,9 @@ export const BoutonShare = ({
|
||||
`}
|
||||
>
|
||||
<Button
|
||||
aria-label={t('Share button')}
|
||||
aria-label={t('Share button, shared with {{count}} users', {
|
||||
count: doc.nb_accesses_direct,
|
||||
})}
|
||||
variant="secondary"
|
||||
icon={
|
||||
<Icon
|
||||
|
||||
Reference in New Issue
Block a user