You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Header logo is not labeled correctly when organisation info is provided #265
When no organisation information is provided to the Header component, the NHS logo is labelled correctly. However, when organisation information is provided, the logo is not labelled correctly.
Steps to Reproduce/Compare
Render the Header component without organisation information — the logo is labelled correctly.
Example: Header with logo
Note: The <title> element in the SVG contains the value "NHS logo". The SVG is labelled based on the contents of this <title> element.
Render the Header component with organisation information — the logo is not labelled correctly.
Example: Organisational header
Note: The <title> element in the SVG is empty in this case. The SVG is again labelled from this element, but the missing content results in no label.
Expected Behaviour
The NHS logo should be labelled consistently, regardless of whether organisation information is provided.
Actual Behaviour
When organisation information is provided, the <title> element for the logo SVG is empty, resulting in the logo not being labelled correctly.
Activity
colinrotherham commentedon Sep 9, 2025
Hi @imartic I can confirm this is a bug
You can fix the issue by passing the
alt="NHS"for now but it's fixed in the next major update: