Skip to content

Commit b0143ff

Browse files
author
Harry C
committed
added aria changes to OrganisationalLogo.tsx
1 parent 7389c17 commit b0143ff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/header/components/OrganisationalLogo.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ const OrganisationalLogo: React.FC<OrganisationalLogoProps> = ({ logoUrl, alt, .
1717
<svg
1818
className="nhsuk-logo"
1919
xmlns="http://www.w3.org/2000/svg"
20-
role="presentation"
20+
role="img"
2121
focusable="false"
2222
viewBox="0 0 40 16"
23+
aria-labelledby="nhsuk-logo_title"
2324
>
25+
<title id="nhsuk-logo_title">{alt}</title>
2426
<path className="nhsuk-logo__background" d="M0 0h40v16H0z"></path>
2527
<path
2628
className="nhsuk-logo__text"

0 commit comments

Comments
 (0)