Skip to content
Discussion options

You must be logged in to vote

Oh ok, the issue is that you define a name and value on non-input elements, which isn't a standard practice.
You can see the list of tags supporting the value attribute on this MDN page for instance.
You can see on the <button> element doc that it supports name/value in its attributes list, while the <tr> doc doesn't include it, nor does the <div> doc

  • Note that, for accessibility purposes, you should try to have as less non-standard situations as possible. You could for example add a form inside your tr, or have a form external to your table, and form elements in your table that reference it using their own form attribute. Try to use forms, buttons, inputs as much as possible to benefit …

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@Telroshan
Comment options

@superDuperCyberTechno
Comment options

@Telroshan
Comment options

Answer selected by superDuperCyberTechno
@superDuperCyberTechno
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants