[
https://issues.apache.org/struts/browse/WW-3207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46801#action_46801
]
Wes Wannemacher commented on WW-3207:
-------------------------------------
you can customize it... you have to specify a value for the 'label' attribute
->
<s:submit type="image" src="image" label="Some Alt Text" />
I'm not necessarily in favor of adding another attribute, so I am going to
close this issue. If you had a different solution in mind, reopen this issue
and provide more details.
> Struts 2 submit tag is missing an "alt" attribute for type="image"
> ------------------------------------------------------------------
>
> Key: WW-3207
> URL: https://issues.apache.org/struts/browse/WW-3207
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Tags
> Reporter: Dave Schindler
> Priority: Minor
> Fix For: 2.1.8
>
>
> Example:
> <s:submit type="image" src="image"/>
> renders as
> <input alt="Submit" src="image" id="someForm_0" value="Submit" type="image">
> The alt attribute should be customizable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.