First of all, let me clear some misconceptions you may have about tabindexes, or rather, the
tabindex HTML attribute. The
tabindex attribute is used to override the default order in which elements will gain focus on the webpage. When no element is given this attribute, the browser automatically focuses elements when you press tab in the order which they appear in the document. Only links and form elements can gain focus automatically, although it is possible to make any element focusable using
The most important thing to keep in mind here is that keyboard navigation should be designed for those who are disabled first, then consideration should be given to those of us who are able to use the mouse.
So with that in mind, let's consider what you're saying here:
I think defaut [sic] focus should be on first question [...] and questions should have tabindexes
This is an incredibly stupid idea in terms of accessibility - you're basically breaking user's expectations in terms of where tab focus should start. Most pages are designed so that navigation appears first - to make it easier for the disabled, best practise dictates that a link should be inserted before the navigation section to allow them to skip the entire section to the contents. Doing what you're asking for will, however, break user expectations. Badly.
Please dont [sic] put tabindexes on tags, because that would hurt.
Why? Why not allow keyboard users to see questions with the same tag as the one you're looking at?
As show by this question search should not have tabindex...
No it doesn't. Read the question again. More slowly this time, so you may actually comprehend what the question is talking about. Giving the search
input element a
tabindex of -1 will mean that it will be impossible to be focus onto the search box using the tab button. Why do you want to discriminate against disabled user in this way?
...we dont [sic] want people to use that function plus it can overheat the servers.
Because you actually want to make it harder for people to stop the hundreds of duplicate questions that appear on this site each day? Or reduce Stack Overflow's capacity to function as a repository of information? Do you seriously believe that searching for questions will "overheat the servers"?
I know it just sounds cool
We don't do things just because it sounds cool, but because they are actually useful in some way.