0085: Priority voting buttons use invalid 'alt' instead of 'title'

Reported by ☆☆☆ Blig at Sun, 08 May 2016 02:41:35 UTC
website bug
resolved
0 votes

Description

The HTML for the voting buttons (for confirmed issues) use the 'button' state and the 'alt' attribute. But the 'alt' attribute is only allowed for the 'image' state.

Reproduction Steps

1. Check the HTML for a confirmed issue with https://validator.w3.org/nu/
2. See the issue "Attribute alt not allowed on element input at this point."

Intended Behavior

The 'title' attribute should be used instead of the invalid 'alt' attribute.

Benefit: If visitors hover with their mouse over the buttons, a tooltip will be displayed, showing "Increase Priority" and "Decrease Priority".

Status

issue was resolved by TheKroko
0 players say this report is valid, 0 disagree

Comments

Loading Comments...