
Browsers straighten out your scrolling for you. If you swipe mostly downward with a slight sideways wobble, the browser assumes you meant to go straight down and ignores the wobble. This is called scroll axis locking, or "railing". A new CSS property, scroll-axis-lock, lets a developer switch that behaviour off so a page can be scrolled diagonally right from the start of the gesture.
What this changes for you
Almost nothing, and it is worth understanding why.
Railing only matters on what the spec calls a 2D scroller: an area that scrolls both up and down and left and right at the same time. Think of a large map, a floor plan, a seating chart, a big design canvas, or a zoomable diagram. If your site has a normal page that scrolls vertically, plus maybe a horizontal image carousel, you do not have a 2D scroller. Nothing on your site is being affected by railing, so turning it off would change nothing.
The reason a change like this gets written up is that browser vendors and CSS specification authors are steadily handing developers finer control over things browsers used to decide on their own. Scrolling behaviour is one of the last areas where the browser makes assumptions about what the user meant. Each of these additions is small. Collectively they mean the gap between "what a designer drew" and "what a browser can actually do" keeps narrowing.
One practical note if you ever do commission something map-like or canvas-like: the article points out that this locking behaviour varies by browser and by operating system. Safari and Firefox on Mac are strict about it, Chrome on Mac behaves differently. That is a good reminder that anything involving unusual scrolling needs testing on more than one machine before it goes live, because it can genuinely feel different to different customers.
What to do
Nothing. There is no update to install, no setting to change, and no risk to your current site.
If a project ever comes up that involves a large scrollable map, plan, or diagram that customers need to move around freely, mention diagonal scrolling to your developer at the start. It is much cheaper to account for than to retrofit.
Reported by:

