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:
@@ -1,12 +1,16 @@
|
||||
import type { IllustrationProps } from '../icon'
|
||||
import { getIconAriaProps } from '../utils'
|
||||
|
||||
export default function SurpriseIcon(props: IllustrationProps) {
|
||||
const ariaProps = getIconAriaProps(props)
|
||||
|
||||
return (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 570 571"
|
||||
fill="none"
|
||||
{...props}
|
||||
{...ariaProps}
|
||||
>
|
||||
<path
|
||||
d="M204.21 238.64C206.66 189.49 208.65 187.5 257.8 185.05C208.65 182.6 206.66 180.61 204.21 131.46C201.76 180.61 199.77 182.6 150.62 185.05C199.77 187.5 201.76 189.49 204.21 238.64Z"
|
||||
|
||||
Reference in New Issue
Block a user