4 ms·
here's what i do, i use button tag where it has to look like a button and use a link where it has to look like a link. Also if link requires an eventhandler ins
by Achshar 15y ago
here's what i do, i use button tag where it has to look like a button and use a link where it has to look like a link. Also if link requires an eventhandler instead of href change i simply omit href attribute altogether and write my css to apply to a tag irrespective of weather it has href attribute or not. problem solved.
- troygoode 15y agothis will cause the tabbing issues mentioned in the article
- Achshar 15y agowell if i want something to look and feel like a button, i won't ware about tab navigation. its a button after all. Its like saying i can't use a div to make it look like a button because it cannot be accessed through tab. Its a div, not a link. If i want tabbed navigation i will use a link not a button.