Ticket #3562 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

.removeAttr() needs to support ARIA properties

Reported by: scott.gonzalez Owned by: scott.gonzalez
Priority: major Milestone: 1.7
Component: [meta] ui.a11y Version: 1.6rc2
Keywords: Cc:
Blocking: Blocked by:

Description

.attr() is proxied for ARIA properties in FF2, but .removeAttr() isn't.

This only needs to support states, not roles.

Attachments

removeAttr.patch Download (1.2 KB) - added by scott.gonzalez 5 years ago.

Change History

Changed 5 years ago by scott.gonzalez

comment:1 Changed 5 years ago by scott.gonzalez

  • Status changed from new to accepted

The attached patch assumes that if we're removing any ARIA property, that it's safe to just call removeAttributeNS, without clearing the value first or checking the node type. I'm not sure if that's correct.

comment:2 Changed 5 years ago by scott.gonzalez

  • Status changed from accepted to closed
  • Resolution set to fixed

Fixed in r941.

comment:3 Changed 5 years ago by scott.gonzalez

  • Milestone changed from TBD to 1.6
Note: See TracTickets for help on using tickets.