Skip to content

Accessibility: Missing label in TextareaAutosize #47418

@swapnilchafale

Description

@swapnilchafale

Steps to reproduce

The example for TextareaAutosize in the documentation does not include a label, causing accessibility issues.

Screenshot:

Image

Steps to reproduce:

  1. Visit https://mui.com/material-ui/react-textarea-autosize/
  2. Inspect the example under "Minimum height".
  3. Accessibility checker reports: "Missing form label". (Crome Extension - WAVE Evaluation Tool)

Current behavior

No response

Expected behavior

The example should include a label or aria-label for the textarea to meet WCAG compliance.

Context

No response

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: Accessibility TextareaAutosize

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to the documentation.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions