Originally Posted by Dolby
Will have to research if there is a way to fix this.
|
I use the following with Modernizr and jQuery to fix hover dropdowns on several sites I manage:
Code:
if (Modernizr.touch) {
$('#menu [aria-haspopup] > a').attr('href', '#');
}
The top-level links are already duplicated in the dropdown, so this doesn't actually render any links inaccessible. The lack of a valid href attribute is also why the author and user dropdowns already work on mobile devices.