[wp-trac] [WordPress Trac] #55370: Enable aria-controls and aria-expanded in content

WordPress Trac noreply at wordpress.org
Fri Mar 11 09:28:47 UTC 2022


#55370: Enable aria-controls and aria-expanded in content
-------------------------+------------------------------
 Reporter:  crs1138      |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Formatting   |     Version:  5.8.3
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  accessibility
-------------------------+------------------------------
Changes (by sabernhardt):

 * focuses:   => accessibility
 * component:  Role/Capability => Formatting


Old description:

> We have created a custom collapsible block, but the Gutenberg validation
> fails as the `aria-controls` and `aria-expanded` attributes are stripped
> from the saved content if the block is used by a user with role below
> _super administrator_.
>
> Could these attributes be added to the list of allowed attributes?
>
> Our problem is described in more detail at
> https://github.com/WordPress/gutenberg/issues/39351 at @ocean90
> recommended opening a ticket in Trac.
>
> Similar topic has been discussed at
> https://core.trac.wordpress.org/ticket/30421

New description:

 We have created a custom collapsible block, but the Gutenberg validation
 fails as the `aria-controls` and `aria-expanded` attributes are stripped
 from the saved content if the block is used by a user with role below
 ''super administrator''.

 Could these attributes be added to the list of allowed attributes?

 Our problem is described in more detail at
 [https://github.com/WordPress/gutenberg/issues/39351 Gutenberg issue
 39351] and @ocean90 recommended opening a ticket in Trac.

 Similar topic has been discussed at Trac #30421

--

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


More information about the wp-trac mailing list