Feat/BOOK-117 svg accessibility

* feat(BOOK-117): Added aria-label to Scandic Friends levels
* feat(BOOK-117): Added aria-label to hotel logos
* feat(BOOK-117): Added alt text to app download images
* feat(BOOK-117): Added same logo component to footer as the one in the header
* feat(BOOK-117): Added aria attributes to icons similar to how we handled MaterialIcon aria attributes

Approved-by: Bianca Widstam
Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-11-13 06:34:18 +00:00
parent c4b564998c
commit ce469bc4b4
117 changed files with 541 additions and 247 deletions

View File

@@ -5,6 +5,7 @@ import styles from './logo.module.css'
export default function ScandicLogoIcon({
className = '',
'aria-label': ariaLabel,
height = 14,
width = 58,
...props
@@ -17,6 +18,8 @@ export default function ScandicLogoIcon({
viewBox="0 0 132 28"
fill="none"
xmlns="http://www.w3.org/2000/svg"
// eslint-disable-next-line formatjs/no-literal-string-in-jsx
aria-label={ariaLabel ?? 'Scandic'}
{...props}
>
<path