Commit da76784
committed
Administration: Sync admin-ui Page header accessibility backport from Gutenberg.
Mirror the changes from Gutenberg PR WordPress/gutenberg#78002 (which
backports WordPress/gutenberg#77617 and WordPress/gutenberg#78001 to
the `wp/7.0` branch) into the auto-generated wordpress-develop bundles
for the Connectors and Font Library admin screens.
Two of the three accessibility issues raised in the ticket are
addressed by this sync:
* Page heading is now an `h1` instead of an `h2`. The bundled
`Header` component's default `headingLevel` is bumped from 2 to 1,
and the now-redundant explicit `headingLevel: 1` overrides at the
Connectors and Font Library route stages are dropped.
* The inappropriate `<header>` landmark inside the page's `region`
landmark is removed by dropping the `render: <header />` prop on
the Stack wrapping the page header, eliminating the nested `banner`
landmark.
The third issue (full-white body background) still needs to land
upstream in Gutenberg per the latest comment on the ticket.
Bundles updated for both the readable and minified outputs of:
* `src/wp-includes/build/routes/connectors-home/content.js`
* `src/wp-includes/build/routes/connectors-home/content.min.js`
* `src/wp-includes/build/routes/font-list/content.js`
* `src/wp-includes/build/routes/font-list/content.min.js`
The `version` hash in each `content.min.asset.php` is bumped to the
md5 of the new minified bundle so cached browser copies are invalidated;
the next official Gutenberg sync will overwrite these with the build
pipeline's canonical hashes.
Props joedolson, afercia, hbhalodia, wildworks.
See #65100.
Made-with: Cursor1 parent 7c55fde commit da76784
6 files changed
Lines changed: 8 additions & 11 deletions
File tree
- src/wp-includes/build/routes
- connectors-home
- font-list
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
587 | | - | |
| 587 | + | |
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
| |||
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
601 | | - | |
602 | 601 | | |
603 | 602 | | |
604 | 603 | | |
| |||
1604 | 1603 | | |
1605 | 1604 | | |
1606 | 1605 | | |
1607 | | - | |
1608 | 1606 | | |
1609 | 1607 | | |
1610 | 1608 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
810 | 810 | | |
811 | 811 | | |
812 | 812 | | |
813 | | - | |
| 813 | + | |
814 | 814 | | |
815 | 815 | | |
816 | 816 | | |
| |||
824 | 824 | | |
825 | 825 | | |
826 | 826 | | |
827 | | - | |
828 | 827 | | |
829 | 828 | | |
830 | 829 | | |
| |||
15480 | 15479 | | |
15481 | 15480 | | |
15482 | 15481 | | |
15483 | | - | |
| 15482 | + | |
15484 | 15483 | | |
15485 | 15484 | | |
15486 | 15485 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments