[wp-trac] [WordPress Trac] #60799: Change the Header Tag in Link Modal from <h1> to <h2> for Better Accessibility

WordPress Trac noreply at wordpress.org
Sat Jun 8 23:19:20 UTC 2024


#60799: Change the Header Tag in Link Modal from <h1> to <h2> for Better
Accessibility
-------------------------------------------------+-------------------------
 Reporter:  lyonmuller                           |       Owner:  jwgoedert
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.6
Component:  Editor                               |     Version:  6.4.3
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-         |     Focuses:
  testing-info                                   |  accessibility
-------------------------------------------------+-------------------------

Comment (by rajinsharwar):

 I have tested the 60799.diff, and found that:

 1. The Modal Container has the attribute aria-modal="true":
 https://prnt.sc/pmJQiSinxl14 ✅
 2. #wpwrap has the attribute aria-hidden="true":
 https://prnt.sc/Emm6epnUZeWN ✅
 3. #wpwrap has attribute aria-hidden="true" removed when model closed:
 https://prnt.sc/63wUzbeE86wY ✅

 Overall, this patch looks good and has the issues mentioned fixed.

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


More information about the wp-trac mailing list