[wp-trac] [WordPress Trac] #63535: Add support for aria-label in the Link modal (Block Editor and Classic Editor)

WordPress Trac noreply at wordpress.org
Thu Jun 5 13:38:22 UTC 2025


#63535: Add support for aria-label in the Link modal (Block Editor and Classic
Editor)
--------------------------+--------------------------------
 Reporter:  printsachen1  |       Owner:  (none)
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:  6.8
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:  ui, accessibility
--------------------------+--------------------------------
Changes (by printsachen1):

 * version:   => 6.8
 * type:  feature request => enhancement


Comment:

 @audrasjb @sabernhardt

 thx you for answer.

 To fix the Issue / enhancement go to

 https://github.com/WordPress/gutenberg/packages/block-
 editor/src/components/url-popover
 /image-url-input-ui.js

 add new TextControl and a const onSetLinkArial

 {{{

 <TextControl
         __next40pxDefaultSize
         __nextHasNoMarginBottom
         label={ __( 'Link arial-label' ) }
         value={ rel ?? '' }
         onChange={ onSetLinkArial }
 />
 }}}

 {{{
 const onSetLinkArial = ( value ) => {
                 onChangeUrl( { arial-label: value } );
         };

 }}}

 please let me know if you would like me to create a pull request

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


More information about the wp-trac mailing list