- Merge request !1650Issue #2998857: Additional information needed to complete specific file fields is not announced by JAWS → (Closed) created by e.chatrer
- 🇺🇸United States nilubol
Tagging with WCAG SC 3.3.2: Labels or Instructions
- Status changed to Needs work
almost 2 years ago 11:58pm 30 January 2023 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.
- 🇺🇸United States luke.leber Pennsylvania
Luke.Leber → made their first commit to this issue’s fork.
- Merge request !8523Retarget against 11.x; rebase was way too messy. → (Closed) created by luke.leber
- 🇺🇸United States luke.leber Pennsylvania
Luke.Leber → changed the visibility of the branch 2998857-additional-information-needed to hidden.
- 🇺🇸United States luke.leber Pennsylvania
This change needs tests. It would also be great to test
Webform
to ensure that the elements that extend managed file are also swept up and fixed. - 🇺🇸United States luke.leber Pennsylvania
Approach-wise, I feel that this logic belongs in
\Drupal\file\Element\ManagedFile::processManagedFile
class versus the FormBuilder because thefile
module provides themanaged_file
element plugin. - Status changed to Needs review
6 months ago 6:49pm 24 June 2024 - 🇺🇸United States luke.leber Pennsylvania
Additionally manually confirmed attribute coverage against a "real world" site (via Webform).
- Audio files
- Document files
- Generic files (this is the core render element!)
- Image files
- Video files
Cheers
- Status changed to RTBC
6 months ago 4:36pm 28 June 2024 - 🇺🇸United States smustgrave
Ran test-only feature
1) Drupal\Tests\file\Functional\FileManagedFileElementTest::testManagedFile Behat\Mink\Exception\ElementNotFoundException: Element matching css "[aria-describedby="edit-file--description"]" not found. /builds/issue/drupal-2998857/vendor/behat/mink/src/WebAssert.php:465 /builds/issue/drupal-2998857/core/modules/file/tests/src/Functional/FileManagedFileElementTest.php:49 FAILURES! Tests: 5, Assertions: 66, Failures: 1.
To confirm coverage
Verified this with the Media file fields and confirm they are now getting aria-describedby.
- 🇩🇪Germany rkoller Nürnberg, Germany
I've just commented on the corresponding thread on the #accessibility channel only. but would it make sense to open up a follow up issue to add the aria-describedby to the image field as well? cuz there the ui and micro copy is basically the same as the file field but for the image field the description still isnt announced.
-
alexpott →
committed 07c0011d on 10.3.x
Issue #2998857 by Luke.Leber, e.chatrer, afem, bskibinski, mgifford:...
-
alexpott →
committed 07c0011d on 10.3.x
-
alexpott →
committed 5b240ef4 on 10.4.x
Issue #2998857 by Luke.Leber, e.chatrer, afem, bskibinski, mgifford:...
-
alexpott →
committed 5b240ef4 on 10.4.x
-
alexpott →
committed 3960a5d4 on 11.0.x
Issue #2998857 by Luke.Leber, e.chatrer, afem, bskibinski, mgifford:...
-
alexpott →
committed 3960a5d4 on 11.0.x
- 🇬🇧United Kingdom alexpott 🇪🇺🌍
@rkoller - yes let's open a follow-up to fix image fields too.
Committed and pushed 74b6cedac2 to 11.x and 3960a5d417 to 11.0.x and 5b240ef43d to 10.4.x and 07c0011de5 to 10.3.x. Thanks!
-
alexpott →
committed 74b6ceda on 11.x
Issue #2998857 by Luke.Leber, e.chatrer, afem, bskibinski, mgifford:...
-
alexpott →
committed 74b6ceda on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.