mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
add aria label to colors
This commit is contained in:
parent
ab252784f2
commit
5ab37fffc0
@ -4407,6 +4407,7 @@ define([
|
||||
var $color = $(h('button.cp-palette-color'));
|
||||
all.push($color);
|
||||
$color.addClass('cp-palette-'+(color || 'nocolor'));
|
||||
$color.attr('aria-label', Messages['color' + i]);
|
||||
const checkIcon = Icons.get('check');
|
||||
$(checkIcon).addClass('cp-check-icon is-hidden'); // added hidden class to overcome Lucide rendering
|
||||
$color.append(checkIcon);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user