Opened 10 years ago

Closed 10 years ago

#1629 closed enhancement (fixed)

Use <label> instead of javascript for text associated with radio buttons

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: trivial Milestone: BASE 3.0
Component: web Version:
Keywords: Cc:

Description

In many places with radiobuttons there is a text next to each button that is linked with <a href="javascript:..."> that simulates a click on the radiobutton. It is better to use <label> and let the browser handle this instead. This has been used on a few places in the new JSP pages for BASE 3.0 but we should use the same solution in all other places. I think there are also some places which is missing the link.

Change History (2)

comment:1 Changed 10 years ago by Nicklas Nordborg

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 Changed 10 years ago by Nicklas Nordborg

Resolution: fixed
Status: assignedclosed

(In [5812]) Fixes #1629: Use <label> instead of javascript for text associated with radio buttons

Radio buttons and checkboxes should now be fixed. The exception is checkboxes/radiobuttons in list pages. The reason is that the action depends on the list mode. In most cases the action is to open the view- or edit- page, not to check the radio button or checkbox.

Note: See TracTickets for help on using tickets.