I want to include the IPA pronunciation of an element in a semantically meaningful way. Is there an attribute or some other standard method for this?
Otherwise I'll just have to use a custom attribute.
No, there is no attribute or element dedicated to the pronounciation of text. Use a custom data-*
attribute if you need to mark it up semantically, and use the IPA characters in Unicode to include IPA pronounciation in text.