Skip to content

Header logo is not labeled correctly when organisation info is provided #265

@imartic

Description

@imartic

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
Image
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
Image
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions