PDA

View Full Version : Multiselect Tree - no href on anchors



jclawson
6 Jul 2007, 1:56 PM
Currently the tree cannot handle multiple node selections due to the fact that it uses anchors with hrefs. This causes browsers to open a new tab or window depending on if shift / ctrl is held down.

If href is not a defined parameter I think the best solution would be to not add the href attribute at all.

Perhaps I am missing a good reason to include href="#" on all nodes?

Obviously I can override it with my own UI provider but I really believe this should be the default behavior anyways unless there is a reason to keep it like it is.

Thanks.

jack.slocum
6 Jul 2007, 9:48 PM
If you want to discuss it, please post in a different forum. This is not a bug.

If an anchor has no href attribute it a) can't receive the focus, b) isn't available to tab key, c) isn't recognized by screen readers as "clickable".

If you don't need any of those behaviors, you are welcome to remove the href. ;)