question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Valid menu/sub-menu pattern is reporting errors

See original GitHub issue

The following markup which is from W3C WAI example is not valid according with ember-template-lint.

<ul role="menubar" aria-label="functions" id="appmenu">
  <li role="menuitem" aria-haspopup="true">
    File
    <ul role="menu">
      <li role="menuitem">New</li>
      <li role="menuitem">Open</li>
      <li role="menuitem">Print</li>
    </ul>
  </li>
  {{!-- ... --}}
</ul>

ember-template-lint is reporting the following error

Do not use an element with `role=“menuitem”` inside an element with `role=“menuitem”` : ember-template-lint (no-nested-interactive)

After discussing with @MelSumner, it appears that the submenu pattern should be supported by ember-template-lint as it is valid markup

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
KamiKillertOcommented, Dec 4, 2022

@geneukum no I did not have the time to work on it. Feel free to have a look

1reaction
KamiKillertOcommented, Oct 7, 2022

I’ll a look and see if I can find a way to fix the issue 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create with Associations · Issue #8191 · sequelize/sequelize · GitHub
What you are doing? Hi, I'm trying to write a seed file that will create data for a menu and it's structure. The...
Read more >
How to Report Errors in Forms: 10 Design Guidelines
In this article, we discuss helpful guidelines for designing error flows. 1. Aim for Inline Validation Whenever Possible. Ideally, all ...
Read more >
Updated-PCUG-Main-Guide-v80-February-25-2014.pdf - CMS
If the BEQ Request File is rejected, the e-mail notification informs the Plan of the first. File Error Condition that caused the rejection....
Read more >
GradeDec.Net Users' Manual - Federal Railroad Administration
GradeDec.Net is a web-based decision support tool that assists federal, state and local authority decision makers in evaluating the benefits and.
Read more >
RPA Technical Manual - UConn Health
Requisitioning, Purchasing and Accounts Payable ACE Reports. ... Section 22 - A reference of fatal and serious errors and recovery procedures.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found