Make WordPress Core

Opened 9 months ago

Closed 9 months ago

#64594 closed enhancement (fixed)

Block Support: Allow serialization skipping for ariaLabel

Reported by: wildworks Owned by: wildworks
Priority: normal Milestone: 7.0
Component: Editor Version:
Severity: normal Keywords: gutenberg-merge has-patch has-unit-tests
Cc: Focuses: accessibility

Description

Gutenberg PR: ​https://github.com/WordPress/gutenberg/pull/75192

I found that there is a need to skip serializing ariaLabel block support and apply aria-label to the inner element rather than the block wrapper. For example, the in-progress Icon block requires the aria-label attribute to be applied to the inner svg element.

Change History (7)

This ticket was mentioned in ​PR #10861 on ​WordPress/wordpress-develop by ​@wildworks.


9 months ago
#1

  • Keywords has-patch has-unit-tests added

​@mukesh27 commented on ​PR #10861:


9 months ago
#2

@t-hamano Does is mistaken closed?

​@wildworks commented on ​PR #10861:


9 months ago
#4

Oh, I re-forked the wordpress-develop repo and it seems all my submitted open PRs were closed 😂 I submitted a new PR that is equivalent to this one. ​https://github.com/WordPress/wordpress-develop/pull/10920

#5 @joedolson
9 months ago

  • Focuses accessibility added

This ticket was mentioned in ​Slack in #accessibility by joedolson. ​View the logs.


9 months ago

#7 @wildworks
9 months ago

  • Owner set to wildworks
  • Resolution → fixed
  • Status new → closed

In 61671:

Block Support: Allow serialization skipping for ariaLabel

Allow skipping serialization for the ariaLabel block support. This enables applying the aria-label attribute to inner elements instead of the block wrapper.

Follow-up to [59925].

Props mukesh27, wildworks.
Fixes #64594.

Note: See TracTickets for help on using tickets.