Browsers are once again supporting the ability to style the scrollbar with CSS, but the author of this article argues that this is a mistake due to accessibility considerations. When you modify the scrollbar, you break external consistency, which for those with lower levels of digital literacy can make them feel like they have broken something. Furthermore, there are numerous potential barriers, such as color contrast and touch target area, that could prevent people from using the scrollbar to navigate the content. The author encourages developers to prioritize accessibility and not attempt to subvert someone’s ability to modify their scrolling experience to suit their specific needs.
https://ericwbailey.website/published/dont-use-custom-css-scrollbars/