Skip to main content

Search and Top Navigation

#9027 closed bug (notabug)

Opened January 29, 2013 08:49PM UTC

Closed January 29, 2013 08:56PM UTC

Last modified January 29, 2013 09:00PM UTC

: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/

Attachments (0)
Change History (2)

Changed January 29, 2013 08:56PM UTC by tj.vantoll comment:1

_comment0: 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."1359493112346689
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. Bad link the first time. Here's the right one http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-a-element.

Changed January 29, 2013 09:00PM UTC by anders comment:2

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