Tab indexes for question

main
Bob Mottram 2022-06-09 18:58:55 +01:00
parent 9436b952b0
commit 3e96093c12
1 changed files with 3 additions and 2 deletions

View File

@ -53,10 +53,11 @@ def insert_question(base_dir: str, translate: {},
continue continue
content += \ content += \
'<input type="radio" name="answer" value="' + \ '<input type="radio" name="answer" value="' + \
choice['name'] + '"> ' + choice['name'] + '<br><br>\n' choice['name'] + '" tabindex="10"> ' + \
choice['name'] + '<br><br>\n'
content += \ content += \
'<input type="submit" value="' + \ '<input type="submit" value="' + \
translate['Vote'] + '" class="vote"><br><br>\n' translate['Vote'] + '" class="vote" tabindex="10"><br><br>\n'
content += '</form>\n</div>\n' content += '</form>\n</div>\n'
else: else:
# show the responses to a question # show the responses to a question