Hey guys, hope you can lend a hand…
I am trying to add role="navigation" aria-label="main navigation"
to my main navigation using jquery. All the other code should be intact within the <nav>
element.
So this <nav id="ubermenu-top-nav-788" class="ubermenu">
would become <nav id="ubermenu-top-nav-788" class="ubermenu" role="navigation" aria-label="main navigation">
.
Can’t seem to find the proper way to do this with jQuery. Thanks in advance, any help is greatly appreciated.