Hi,
I just tried the menubar example locally, and it worked for me.
What I did:
* Downloaded all the scripts and the css to a new directory.
* Created an html file called index.html in the same directory with
the HTML content from the HTML source section of the site, along with
the necessary top-level tags and script tags to pull in all the js
files, and a link tag for the css.
* Launched the http.server python module in the directory like so:
python -m http.server
* In a browser, visited the address http://localhost:8000/index.html
Hope this helps,
Rynhardt
On Thu, Apr 15, 2021 at 5:13 PM Erik Burggraaf <burggraaferik@xxxxxxxxx> wrote:
** To leave the list, click on the immediately-following link:-
They are working on the site. However, when I download them and load them in
a browser they don’t work in various ways. For the navigation menu bar, it
seems that they didn’t include the script to generate the menu button because
when the page tries to call the menu it returns not found. I fixed this in
the popup menu where it was doing the same thing, but in the popup menu,
something isn’t being passed properly to the create function and when it
tries to set attributes it fails.
Best,
Erik
Sent from Mail for Windows 10
From: Rynhardt Kruger
Sent: April 15, 2021 9:55 AM
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: Aria menu bar examples from w3c not working
They work perfectly for me in focus mode, tested with Orca.
How are they behaving at your side?
Regards,
Rynhardt
On Wed, Apr 14, 2021 at 6:06 PM Erik Burggraaf <burggraaferik@xxxxxxxxx>
wrote:
Hi, Can any one get the following aria menu bar examples to work?
Menu bar:
https://www.w3.org/TR/wai-aria-practices/examples/menubar/menubar-1/menubar-1.html
popup menu:
https://www.w3.org/TR/wai-aria-practices/examples/menu-button/menu-button-links.html
Best,
Erik
Sent from Mail for Windows 10
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq