Display hand cursor for label with "for" attribute in all browsers except#1
Display hand cursor for label with "for" attribute in all browsers except#1Calvein wants to merge 1 commit intonecolas:masterfrom Calvein:patch-1
Conversation
|
Why would you want to do this? It's not default behaviour in any browser and what are the benefits of doing this for those with the |
|
Oh, I read the README a bit too fast, you're right, it's not default behaviour it doesn't have to be there, my bad. |
|
Hello Necolas, I'm sorry for bringing this back up but wouldn't this follow in the category "Improves usability with subtle improvements", even though it's not default behaviour in any browser? |
|
I don' think it is a usability improvement. It's confusing to see a pointer cursor over non-link text. There is also no way to add the cursor to |
|
This is still a valid discussion point in my opinion (I'll close my Issue for this). The WCAG doesn't have anything explicit to say about it, but this article (http://usability.com.au/2008/09/accessible-forms-using-wcag-2-0/) states that users with a visual disability, who still use a mouse will benefit from explicit linking between a label and its control. Since the label should be clicked for the cursor to appear in its related control, it makes more sense to display a pointer (just like with other clickable elements like links and buttons). Just because browsers seem to default to not showing a pointer, doesn't make it the best possible solution (isn't that why we have things like normalize in the first place? ;-)). I always set labels to explicitly show a pointer, as I can always remove it with a class if I ever need to (don't think I ever have). Thoughts? |
|
There is also specificity issues with every new addition that should be taken into consideration. |
Display hand cursor for label with "for" attribute in all browsers except IE6.