W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2012

Re: Officially suggested keyboard interaction for sub-menu items in the "navigation"?

From: Ian Yang <ian@invigoreight.com>
Date: Mon, 30 Jul 2012 09:00:45 +0800
Message-ID: <CABr1Fsd7N6zOPoKX46oQJ58L1jZzZXiJjoGww3jBK697w21udQ@mail.gmail.com>
To: w3c-wai-ig@w3.org
Do we have a conclusion? Taking a look on the previous code again, and
there is a dilemma: when the focus is on the "About" menu item, should
hitting Enter key toggle the sub-menu or take users to about.html? There is
no specification addresses this issue. So it seems to be wrong to put a
"menubar" in the "navigation"?

<nav role="navigation">
    <ul role="menubar">
        <li role="presentation"><a href="index.html"
        <li role="presentation">
            <a href="about.html" role="menuitem"
            <ul role="menu">
                <li role="presentation"><a href="our-company.html"
role="menuitem">Our company</a></li>
                <li role="presentation"><a href="our-team.html"
role="menuitem">Our team</a></li>
                <li role="presentation"><a href="our-location.html"
role="menuitem">Our location</a></li>
        <li role="presentation"><a href="contact.html"

Ian Yang
Received on Monday, 30 July 2012 01:01:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:36:40 UTC