a11y: Input type file fields lack aria-describedby to the description

Created on 11 September 2018, almost 6 years ago
Updated 16 November 2023, 7 months ago

Description: Within the “Create Node” page, when the “File” field is accessed, JAWS announces “File file upload edit browse…” and does not announce the additional information “One file only. 256 MB limit. Allowed types: pdf doc docx xls xlsx ppt pptx csv txt”. Instead, JAWS is expected to announce the label and the additional information e.g. “File upload edit browse, One file only. 256 MB limit. Allowed types: pdf doc docx xls xlsx ppt pptx csv txt”.

• Testing was performed using JAWS v18.0.2945.
• This defect exists in IE 11 and Google Chrome v68.0.3440.106.

Steps to reproduce:

  1. Add a file field to a content type: Limit 1, add as many "Allowed file extensions" as you choose.
  2. Open JAWS v18.0.2945.
  3. Create/Edit a node that has the file field.
  4. Use the Tab key to navigate to the “File” field.

Notice that JAWS announces “File file upload edit browse…” and does not announce the additional information “One file only. 256 MB limit. Allowed types: pdf doc docx xls xlsx ppt pptx csv txt”.

Expected result: All additional information needed to complete form fields is expected to be announced by JAWS.

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
File module 

Last updated 3 days ago

Created by

🇺🇸United States afem

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States nilubol

    Tagging with WCAG SC 3.3.2: Labels or Instructions

  • Status changed to Needs work over 1 year ago
  • The Needs Review Queue Bot tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".

    Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.

    Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.

  • The patch is working for simple input type file with Drupal 10.1.6 for me. It doesn't work however when using webform and multiple pages.

Production build 0.69.0 2024