Opened 6 months ago
Closed 5 months 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 6 months ago by teh-botol
comment:2 Changed 6 months ago by scottgonzalez
- Status changed from new to open
comment:3 Changed 5 months ago by scottgonzalez
- Milestone changed from none to 1.12.0
- Resolution set to fixed
- Status changed from open to closed
This was fixed in 50d910b84844367b0bcf324b5bb50ce70b43f9c2.
Note: See
TracTickets for help on using
tickets.
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