Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#45713 closed defect (bug) (fixed)

Twenty Nineteen: Improve menu semantics and keyboard navigation.

Reported by: kjellr Owned by: laurelfulford
Priority: normal Milestone: 5.0.3
Component: Bundled Theme Version: 5.0.1
Severity: normal Keywords: has-patch fixed-major
Cc: Focuses:

Description

The Twenty Nineteen menu has a couple minor semantic issues:

The patch attached to this ticket takes care of those issues, and also removes an unnecessary tabindex="0" applied to the main-navigation element.

---

This patch ports over @allancole's changes from https://github.com/WordPress/twentynineteen/pull/735

Please note, it does not include that PRs fix for the problematic touchstart link behaviour in that original PR, as that's handled separately in #45510.

props: allancole, anevins

Attachments (1)

45713.patch (9.4 KB ) - added by kjellr 8 years ago.

Download all attachments as: .zip

Change History (8)

@kjellr
8 years ago

#1 @laurelfulford
8 years ago

  • Milestone Awaiting Review5.0.3
  • Owner set to laurelfulford
  • Status newassigned

#2 @laurelfulford
8 years ago

  • Keywords needs-refresh added

Thanks for porting this over, @kjellr!

I've tested this and it looks like it's working correctly for me. The only issue I spotted is that, in style.css, the version got changed from 1.1 back to 1.0 (since it's not up-to-date in GitHub).

@kjellr are you available in the next day or so to refresh?

#3 @laurelfulford
8 years ago

  • Keywords needs-refresh removed

Removing needs-refresh -- I double-checked, and can take care of fixing the version before committing :)

#4 @laurelfulford
8 years ago

  • Resolutionfixed
  • Status assignedclosed

In 44376:

Twenty Nineteen: Improve menu semantics and keyboard navigation.

The menu's original markup included some non-semantic tags and an unnecessary tabindex attribute that made it difficult to navigate via keyboard.

Props allancole, anevins, kjellr.
Fixes #45713.

#5 @laurelfulford
8 years ago

To close the loop, I added a comment to the related GitHub PR that this has been committed.

#6 @SergeyBiryukov
8 years ago

  • Keywords fixed-major added
  • Resolution fixed
  • Status closedreopened

Reopening for merging to the 5.0 branch.

#7 @SergeyBiryukov
8 years ago

  • Resolutionfixed
  • Status reopenedclosed

In 44426:

Twenty Nineteen: Improve menu semantics and keyboard navigation.

The menu's original markup included some non-semantic tags and an unnecessary tabindex attribute that made it difficult to navigate via keyboard.

Props allancole, anevins, kjellr.
Merges [44376] to the 5.0 branch.
Fixes #45713.

Note: See TracTickets for help on using tickets.