Opened 7 years ago

Closed 7 years ago

#14970 closed bug (fixed)

Element still :focusable for control inside fieldset:disabled

Reported by: teh-botol Owned by:
Priority: minor Milestone: 1.12.0
Component: ui.core Version: 1.11.3
Keywords: Cc:
Blocked by: Blocking:

Description

Let say, we have page like this:

<fieldset disabled="disabled">
  <div>
    <input>
  </div>
</fieldset>

The input element is still :focusable. The test result:

$('input').is(':focusable'); // true
$('input').is(':disabled'); // false

Change History (3)

comment:1 Changed 7 years ago by teh-botol

Sorry, correction for test result. And I can't replicate using jsfiddle. Don't know how to attach jQuery-UI (lazy).

$('input').is(':focusable'); // true
$('input').is(':disabled'); // true

comment:2 Changed 7 years ago by Scott González

Status: newopen

comment:3 Changed 7 years ago by Scott González

Milestone: none1.12.0
Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.