NewsCrawler.org

CSS Working Group agrees to cursor: pointer on buttons and form controls

The author writes about a decision of the CSS Working Group[1], the group that discusses and resolves CSS rules. The group agreed to adopt rules that set cursor: pointer on buttons and similar form elements, including select, option, checkboxes, radio buttons, color and file inputs, and the file selector button. The group's summary says a pointer means "click this thing", a text cursor means "prepare to enter text", and a grabbing hand means "drag this".

The rules apply to elements that have appearance: base and do not change the browser's default styles. The user agent style[2] can be overridden because it does not use !important[3], so anyone can set the cursor back to default in their own stylesheets.

The author has supported this idea since writing about it in 2013. The author says that the most common argument against it is "OS does not do it", and argues that the default cursor gives no information. The author also says that buttons and links should have different cursors, and that there should be more cursors overall.

Read the original blog.kizu.devDiscussion

Discussion

Commenters mostly say the real problem is design that hides which elements can be clicked, so a cursor change only treats a symptom. One commenter points out that menus, scrollbars and range sliders would make consistent cursor rules hard to apply across an operating system.

Sources

Published: First seen: Читать по-русски

Open as a page