[attributedlabel] Add invalidateAccessibleElements.

Closes #460.