michigan.gov hates scrollwheels

Check out the State of Michigan website. It has the fun feature that when you scroll down the page, halfway through their little gallery thingy steals the scrollwheel focus and instead causes the gallery itself to start scrolling super fast. The page source makes it pretty clear that this is something that someone chose to do:

$(document).ready(function() {
    $("#hornav").tabs("div.hornavtabs", {effect:"fade",event:'mouseover'});
    $(".accordion").tabs(".pane", {tabs: 'h2', effect: 'slide'});
    $(".tabItem").tabs(".tabcontentstyle > div",{effect:"default",event:'mouseover'});
    $("div.carousel")
        .scrollable({hoverClass: 'hover',speed: 1500,size: 3})
        .circular()
        .navigator()
        .mousewheel()
        .autoscroll({interval: 8000,speed: 1500, size: 3});
});

I wonder if this is some sort of ADA requirement, or if someone really thinks that scrolling a gallery of featured items with a mouse scrollwheel is a more important use case than scrolling the page itself.

Leave a comment

Your email address will not be published. Required fields are marked *