[wp-trac] [WordPress Trac] #55717: aria-hidden="true" attribute in comment template for visible text (required fields)

WordPress Trac noreply at wordpress.org
Fri Aug 19 16:03:58 UTC 2022


#55717: aria-hidden="true" attribute in comment template for visible text (required
fields)
-------------------------------------------------+-------------------------
 Reporter:  juliemoynat                          |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  6.1
Component:  Comments                             |     Version:  5.8
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch required-fields has-       |     Focuses:
  testing-info                                   |  accessibility
-------------------------------------------------+-------------------------
Changes (by costdev):

 * keywords:  has-patch required-fields => has-patch required-fields has-
     testing-info


Comment:

 == Test Report

 Patch tested:
 https://core.trac.wordpress.org/attachment/ticket/55717/55717.diff

 === Steps to Reproduce or Test
 1. Navigate to a single post and examine the form for adding a new
 comment.
 2. 🐞 In DevTools, inspect the required indicator (by default, this is
 `*`).
 3. (when testing the patch) Run `grunt patch:55717`.

 === Expected Results
 Before the patch:
 - ❌ The `aria-hidden` attribute is applied.

 After the patch:
 - ✅ The `aria-hidden` attribute is not applied.

 === Environment
 * Server: Apache (Linux)
 * WordPress: 6.1-alpha-53344-src
 * Browser: Chrome 104.0.0.0
 * OS: Windows 10
 * Theme: Twenty Twenty-One
 * Plugins: None activated

 ==== Actual Results
 Before the patch:
 - ❌ The `aria-hidden` attribute is applied. Issue reproduced.

 After the patch:
 - ✅ The `aria-hidden` attribute is not applied. Issue resolved with
 patch.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55717#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list