Skip to content

FOLLOW-UP: Add aria-label to reset-input message field (from PR #59) #64

@adnaan

Description

@adnaan

Context

This follow-up task was identified during the review of PR #59.

Source PR: #59
PR Title: feat: add patterns example app — Session 1 (scaffold + forms #1-7)
Suggested by: @Copilot
Comment type: review comment on patterns/templates/forms/reset-input.tmpl:7

Task Description

The text input relies on placeholder text only and has no label/aria-label, which is an accessibility issue for screen readers.

Proposed fix: Add an explicit <label> (visually-hidden is fine) or an aria-label so the field has an accessible name.

Original Comment

This text input relies on placeholder text only and has no label/aria-label, which is an accessibility issue for screen readers. Add an explicit <label> (visually-hidden is fine) or an aria-label so the field has an accessible name.

<input name="message" aria-label="Message" placeholder="Type a message..." required>

This issue was automatically created by prmonitor from PR review comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    follow-upFollow-up task from PR reviewfrom-reviewIssue originated from PR review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions