mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
update new button role on welcome page (#12630)
This commit is contained in:
@@ -361,13 +361,13 @@ class WelcomePage extends Disposable {
|
|||||||
|
|
||||||
const getDropdownBtn = container.querySelector('#dropdown-btn-container .monaco-button') as HTMLElement;
|
const getDropdownBtn = container.querySelector('#dropdown-btn-container .monaco-button') as HTMLElement;
|
||||||
getDropdownBtn.id = 'dropdown-btn';
|
getDropdownBtn.id = 'dropdown-btn';
|
||||||
getDropdownBtn.setAttribute('role', 'navigation');
|
getDropdownBtn.setAttribute('role', 'button');
|
||||||
getDropdownBtn.setAttribute('aria-haspopup', 'true');
|
getDropdownBtn.setAttribute('aria-haspopup', 'true');
|
||||||
getDropdownBtn.setAttribute('aria-controls', 'dropdown');
|
getDropdownBtn.setAttribute('aria-controls', 'dropdown');
|
||||||
nav.setAttribute('role', 'navigation');
|
nav.setAttribute('role', 'navigation');
|
||||||
nav.classList.add('dropdown-nav');
|
nav.classList.add('dropdown-nav');
|
||||||
dropdownUl.classList.add('dropdown');
|
dropdownUl.classList.add('dropdown');
|
||||||
getDropdownBtn.id = 'dropdown-btn';
|
getDropdownBtn.setAttribute('aria-expanded', 'false');
|
||||||
getDropdownBtn.appendChild(i);
|
getDropdownBtn.appendChild(i);
|
||||||
nav.appendChild(dropdownUl);
|
nav.appendChild(dropdownUl);
|
||||||
dropdownButtonContainer.appendChild(nav);
|
dropdownButtonContainer.appendChild(nav);
|
||||||
|
|||||||
Reference in New Issue
Block a user