Instead of a link <a> element, use buttons <button> for things that are buttons.

Screenshot of a page in edit mode. The Save link is indicated as well as the DevTools where the link is highlighted in the DOM structure.

Files: 
CommentFileSizeAuthor
edit-module-buttons-for-buttons.png72.74 KBjessebeach

Comments

Component:Code» Accessibility

Assigned:Unassigned» Wim Leers

Version:8.x-1.x-dev» 7.x-1.x-dev
Status:Active» Patch (to be ported)

Done. Pixel-for-pixel identical styling is maintained, but required more than just CSS selector changes.

http://drupalcode.org/project/edit.git/commit/9e8ca2c

Status:Patch (to be ported)» Closed (fixed)

Issue tags:+Edit D7 Backport

Issue tags:-a11y+accessibility