MDN describes the "maxlength" property on an HTML <input> as imposing a maximum number of "characters". Does "characters", in this context, refer to bytes, unicode codepoints, or unicode grapheme clusters?

(MDN screenshot of a table)
maxlength
Maximum length number of characters of value
0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/mcc/statuses/116099173417113279 on your instance and quote it. (Note that quoting is not supported in Mastodon.)