mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 09:35:36 -05:00
fix server group color a11y issue (#21958)
This commit is contained in:
@@ -138,7 +138,7 @@ export class ServerGroupDialog extends Modal {
|
||||
private focusNextColor(moveRight: boolean): void {
|
||||
let focusIndex: number = -1;
|
||||
for (let i = 0; i < this._colorColorBoxesMap.length; i++) {
|
||||
if (document.activeElement === this._colorColorBoxesMap[i].colorbox.domNode) {
|
||||
if (document.activeElement === this._colorColorBoxesMap[i].colorbox.radioButton) {
|
||||
focusIndex = i;
|
||||
break;
|
||||
}
|
||||
@@ -194,7 +194,6 @@ export class ServerGroupDialog extends Modal {
|
||||
|
||||
const colorBox = new Colorbox(container, {
|
||||
name: 'server-group-color',
|
||||
class: ['server-group-color'],
|
||||
label: color
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user