As mentioned in T314297#8184833, we should apply an upper limit to the number of IPA characters — for example, tɐʉmɐtɐ.ɸɐkɐtɐŋihɐŋɐ.koːɐʉɐʉ.ɔ.tɐmɐtɛɐ.tʉɾi.pʉkɐkɐ.piki.mɐʉŋɐ.hɔɾɔ.nʉkʉ.pɔkɐi.ɸɛnʉɐ.ki.tɐnɐ.tɐhʉ (111 chars) is the IPA for Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu (89 chars), so we could apply an arbitrary cap to the accepted IPA (300 bytes)
Acceptance criteria
When passed an IPA string under 300 bytes:
- The phonos button is in the active state and plays the rendered audio when clicked
When passed an IPA string with over 300 bytes:
- The phonos button is in the disabled state and shows an error message (en: IPA too long to render. / qqq: phonos-ipa-too-long)