-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Description
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.