WeBWorK Main Forum

"Submit answers" button text

"Submit answers" button text

by Sarunas Burdulis -
Number of replies: 0
Hi,
We have just noticed that submit button on individual problem pages as viewed by a student aquires different labels depending on browser. For example, it's "Submit Query" in Firefox and "Submit" in Chrome, Safari. Looking at the page source, I can see that the button's input element has attribute 'label="Submit answers"'. Apparently this is not (always?) working. I think there is no such attribute as 'label' in (X)HTML (there is a <label> element though). Submit button is generated by ContentGenerator/Problem.pm, line 1139. Is the use of label="Submit answers" instead of value="Submit Answers" intentional here for some other and not so obvious reason?

Version 2.5.0, svn branch: system/tags/rel-2-5-0.

Sarunas