From MDN Docs:
The maximum value for tabindex is 32767
I see the number is 215-1, so it's probably related to 16bit or 32bit integers. But how is this related to HTML? Is it a limitation from the browser? Where does this number come from?
Update
I don't know why this question got closed.
Yes, W3 defined that this is the maximum for tabindex.
Yes, this number is calculated by 215-1.
What I'm asking is WHY tabindex
's maximum value is that? Is it related to the browser? Operating system? HTML? Screen Readers?