mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 16:46:14 -04:00
Better accessibility
This commit is contained in:
parent
2dff66136c
commit
066c0a04fd
16 changed files with 146 additions and 183 deletions
|
@ -361,7 +361,7 @@
|
|||
if (data.hasOwnProperty(color)) {
|
||||
|
||||
// Buttons
|
||||
colorButtons += '<button data-color="'+ color +'"></button>';
|
||||
colorButtons += '<button data-color="'+ color +'" aria-label="Activate '+ color +' theme"></button>';
|
||||
|
||||
// CSS Styles
|
||||
colors.styles += 'button[data-color="'+ color +'"] {'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue