Make WordPress Core

Opened 5 weeks ago

Closed 3 weeks ago

#64594 closed enhancement (fixed)

Block Support: Allow serialization skipping for ariaLabel

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

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.


5 weeks ago
#1

  • Keywords has-patch has-unit-tests added

@mukesh27 commented on PR #10861:


4 weeks ago
#2

@t-hamano Does is mistaken closed?

@wildworks commented on PR #10861:


4 weeks 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
4 weeks ago

  • Focuses accessibility added

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


3 weeks ago

#7 @wildworks
3 weeks ago

  • Owner set to wildworks
  • Resolution set to fixed
  • Status changed from new to 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.