Skip to main content

Bug Tracker

Side navigation

#8143 closed bug (invalid)

Opened February 02, 2011 02:44PM UTC

Closed February 18, 2011 07:54AM UTC

Last modified March 13, 2012 04:11PM UTC

aria-selected setting/unsetting behaves unusually

Reported by: Owned by:
Priority: low Milestone:
Component: attributes Version: 1.5
Keywords: Cc:
Blocked by: Blocking:

The following code

li.removeAttr("aria-selected").eq(myInteger).attr("aria-selected", "true");

works as expected. However

li.attr("aria-selected", "").eq(myInteger).attr("aria-selected", "true");

won't set the value to true on the second time it's called

Attachments (0)
Change History (2)

Changed February 03, 2011 11:06AM UTC by jitter comment:1

component: unfiledattributes
owner: →
priority: undecidedlow
status: newpending

Thanks for taking the time to contribute to the jQuery project by writing a bug report.

Please submit a reduced test case, which reproduces the issue you are experiencing, on So that we can investigate this issue further. Also make sure to read the link given below, in order to provide a most useful bug report.

How to report bugs

Changed February 18, 2011 07:54AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!