mod_base: Add optional tabindex to button tag.
(cherry picked from commit 88e6608c368ea5c757d57570ecb3183bef100996)