Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#9027 closed bug (notabug)

:focusable selector in IE

Reported by: anders Owned by:
Priority: minor Milestone: none
Component: ui.core Version: 1.10.0
Keywords: Cc:
Blocked by: Blocking:

Description

The focusable selector is returning true for disabled anchors in IE, but IE does not consider these focusable.

http://jsfiddle.net/6R2mg/

Change History (2)

comment:1 Changed 10 years ago by tj.vantoll

Resolution: notabug
Status: newclosed

Hi anders,

Thanks for taking the time to contribute to the jQuery UI project.

Adding the disabled attribute to a link is not valid HTML.

http://www.w3.org/html/wg/drafts/html/master/document-metadata.html#the-link-element - "The IDL attribute disabled only applies to style sheet links. When the link element defines a style sheet link, then the disabled attribute behaves as defined for the alternative style sheets DOM. For all other link elements it always return false and does nothing on setting."

Version 0, edited 10 years ago by tj.vantoll (next)

comment:2 Changed 10 years ago by anders

Unfortunately IE doesn't follow this spec. I guess I'll just have to patch jQuery UI locally.

Note: See TracTickets for help on using tickets.