Skip to content

Commit b3703f8

Browse files
committed
add navigation role
1 parent cd77433 commit b3703f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

web_src/js/webcomponents/overflow-menu.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ window.customElements.define('overflow-menu', class extends HTMLElement {
9191
}
9292

9393
connectedCallback() {
94+
this.setAttribute('role', 'navigation');
95+
9496
// check whether the mandatory `.overflow-menu-items` element is present initially which happens
9597
// with Vue which renders differently than browsers. If it's not there, like in the case of browser
9698
// template rendering, wait for its addition.

0 commit comments

Comments
 (0)