If supported - there are currently no browser that support the <menu> nor the <command> nor the contextmenu attribute - the Contextual links module should definitely use them.

We can even start using them and provide graceful degration; shouldn't be too hard.

Comments

casey’s picture

Issue tags: +html5

Hmm, it is possible that user agents will only implement support for applications (using application role or something).

Everett Zufelt’s picture

@Casey

I think new screen-readers will support these elements by switching into forms mode (would need to test). But, the support won't go back very far, so we will need an accessible fallback for screen-readers without this support.

casey’s picture

casey’s picture

mgifford’s picture

Subscribe.

mgifford’s picture

Can someone put together a patch for this?

mgifford’s picture

Status: Active » Postponed

Marking this as postponed because we're not sure what need this is filling. Also, would want to watch use case via http://caniuse.com/

Note: This is a quick summary from the A11ySprint.

Wim Leers’s picture

Status: Postponed » Active

Can somebody explain what this is about exactly?

dcrocks’s picture

The menu element was meant to represent a list of commands, and still has very little support. See:
html5 menu element

Wim Leers’s picture

Version: 8.x-dev » 9.x-dev
Status: Active » Postponed

Hm, indeed: http://caniuse.com/menu. I'd never heard about this before :)

That means this is definitely D9 material.

Wim Leers’s picture

Issue summary: View changes

added tags

catch’s picture

Version: 9.x-dev » 8.1.x-dev
Issue summary: View changes

Now potentially 8.x minor release material.

mgifford’s picture

Thanks for correcting this @catch.

mgifford’s picture

Status: Postponed » Active
nod_’s picture

Issue tags: +JavaScript

Since we need a fallback

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.0-beta1 was released on March 2, 2016, which means new developments and disruptive changes should now be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.0-beta1 was released on August 3, 2016, which means new developments and disruptive changes should now be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.