Currently, I am working on designing the user interface for a checkout flow. Towards the end of the page, there are 3 buttons available - Next, Back, and Cancel.
When viewed on a desktop, the button layout appears as follows: (Back) (Next) Cancel
https://i.stack.imgur.com/7VgkO.png
However, when accessed on mobile devices, the button arrangement changes to: (Next) (Back) (Cancel)
https://i.stack.imgur.com/TZdrp.png
Although the code has the buttons ordered as Next, Back, Cancel, their placement is adjusted using CSS.
The developer insists that because the visual order does not match the coded order, it does not meet the accessibility requirements on desktop. I would prefer not to resort to having a stacked layout for both desktop and mobile versions. Are there any alternative solutions that I can explore?