Skip to content

[Bug] A11y: Add label to newsletter email input in footer #435

Description

@code-qtzl

Problem

The email input field in the newsletter form has no associated label, only a placeholder.
Screen-reader users hear an unlabeled "edit text" field with no context, since the form
is in the global footer that appears on every page.

Impact

High — affects every page (global footer component)

Fix

Add a visually-hidden label associated to the input:

+ <label htmlFor="email" className="ui-sr-only">Email address</label>

Additional context

As a first-time contributor to this project I would like to take on this issue if maintainers think it would be an appropriate contribution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions