Any UI people want to comment on the best practice for cursor styles? I always figured pointer should be used for all buttons or links that have an action attached.
Any UI people want to comment on the best practice for cursor styles? I always figured pointer should be used for all buttons or links that have an action attached.
Most of the G+ buttons actually behave like buttons, i.e. you click on them and something happens on the current page. They don't have cursor:pointer, but they have other standard button hover effects. Pre-AJAX, the web had a history of tarting links up to look like buttons so they would seem more "clickable". Those kinds of "buttons" should get cursor:pointer, but not any other hover effects.
Just because browsers didn't do that in the past for form buttons doesn't mean they did the right thing.
Would be cool to get more opinions on it.
Also note that the buttons in the header area of Google+ are <a> tags, probably since they actually link to separate pages. I guess that's Google's practice.
But it is not unheard of since desktop applications most likely do not change the cursor hovering on a button. It is mostly a web browser feature.
In this regard it seems like Google is doing the right thing. Only run against the user's previously acquired assumptions if there is a very good reason.
I have always used <button> tags (occasionally <a> tags as well). Along with a css reset and some custom changes I can make the button look like anything I want.