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 MagicWandIcon(props: IllustrationProps) {
|
||||
const ariaProps = getIconAriaProps(props)
|
||||
|
||||
return (
|
||||
<svg
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="-0.63 0.55 249.98 201.65"
|
||||
{...props}
|
||||
{...ariaProps}
|
||||
>
|
||||
<path
|
||||
d="M155.649 76.5946L20.1971 122.255C15.0543 120.031 17.8342 113.707 17.8342 113.707L76.0041 94.1081C78.784 96.9575 80.5214 96.749 83.0234 95.776C83.9268 95.4285 84.0658 94.2471 83.3014 91.6061L86.7763 90.4247C87.6102 91.1197 88.4442 91.5366 89.4172 92.0231C93.5176 93.8996 95.4635 91.1892 94.3516 87.8532H94.6295C94.6295 87.7838 117.425 80.139 117.425 80.139L153.286 67.9768C153.286 67.9768 159.124 71.2432 155.649 76.5251V76.5946Z"
|
||||
|
||||
Reference in New Issue
Block a user