bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Proposed change to disabled link state docs

Open necolas opened this issue 14 years ago • 1 comments

The current nav docs say:

For any nav component (tabs, pills, or list), add .disabled for gray links and no hover effects. Links will remain clickable, however, unless custom javascript is implemented to prevent those clicks.

You could instead recommend that people remove the href attribute when using the disabled class, as that's what the HTML5 spec recommends for "placeholder" links. That way, there's no need to use JS and your document semantics are improved in the process.

necolas avatar Sep 29 '12 03:09 necolas

So when those links may be applied as button action, is there a simple and elegant workaround to prevent those disabled links to be clickable? Thanks a lot.

sunblognuke avatar Dec 22 '12 09:12 sunblognuke