Created
January 23, 2022 04:53
-
-
Save aurooba/7967762595b3045f51d316bfc1eff9f1 to your computer and use it in GitHub Desktop.
WordPress Block Editor: Add aria-label to block appender
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[data-type="yourblock/block"] { | |
.block-list-appender { | |
button.block-list-appender__toggle { | |
width: auto; | |
height: auto; | |
padding: 0.5rem !important; | |
&:after { | |
content: attr(aria-label); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment