Commit 359980f
committed
Customizer: Accessible errors when adding new pages.
When setting the home page settings or dynamically adding new pages in the menu manager, the error messages didn't meet accessibility standards.
Add a screen reader announcement, a visible notification, and standardize the error styles.
Props dilipbheda, dlh, celloexpressions, joedolson, jeremiahbratton, shailu25.
Fixes #50696.
git-svn-id: https://develop.svn.wordpress.org/trunk@60715 602fd350-edb4-49c9-b593-d223f7449a821 parent afbe174 commit 359980f
File tree
4 files changed
+27
-9
lines changed- src
- js/_enqueues/wp/customize
- wp-includes
4 files changed
+27
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4066 | 4066 | | |
4067 | 4067 | | |
4068 | 4068 | | |
4069 | | - | |
| 4069 | + | |
4070 | 4070 | | |
4071 | 4071 | | |
4072 | 4072 | | |
| |||
4075 | 4075 | | |
4076 | 4076 | | |
4077 | 4077 | | |
| 4078 | + | |
4078 | 4079 | | |
4079 | 4080 | | |
4080 | 4081 | | |
4081 | 4082 | | |
4082 | | - | |
| 4083 | + | |
| 4084 | + | |
| 4085 | + | |
| 4086 | + | |
| 4087 | + | |
4083 | 4088 | | |
4084 | 4089 | | |
4085 | 4090 | | |
4086 | | - | |
| 4091 | + | |
| 4092 | + | |
| 4093 | + | |
| 4094 | + | |
4087 | 4095 | | |
4088 | 4096 | | |
4089 | 4097 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
661 | 661 | | |
662 | 662 | | |
663 | 663 | | |
| 664 | + | |
664 | 665 | | |
665 | 666 | | |
666 | 667 | | |
| |||
671 | 672 | | |
672 | 673 | | |
673 | 674 | | |
674 | | - | |
675 | 675 | | |
676 | | - | |
677 | | - | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
678 | 681 | | |
679 | 682 | | |
680 | | - | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
681 | 687 | | |
682 | 688 | | |
683 | 689 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
649 | | - | |
| 649 | + | |
650 | 650 | | |
651 | 651 | | |
| 652 | + | |
| 653 | + | |
652 | 654 | | |
653 | 655 | | |
654 | 656 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1237 | 1237 | | |
1238 | 1238 | | |
1239 | 1239 | | |
1240 | | - | |
| 1240 | + | |
1241 | 1241 | | |
1242 | 1242 | | |
| 1243 | + | |
| 1244 | + | |
1243 | 1245 | | |
1244 | 1246 | | |
1245 | 1247 | | |
| |||
0 commit comments