Better accessibility

This commit is contained in:
Lucas 2019-11-28 21:51:58 +07:00
parent 2dff66136c
commit 066c0a04fd
16 changed files with 146 additions and 183 deletions

View file

@ -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 +'"] {'