Next and previous arrows direction checker
Do your arrows point the right way in Arabic: next left, back right?
- Checks your page
- 3 browsers
- 1 rule
- Last updated
What we keep
The result appears here
Enter your page’s address and press “Check the page”. This is what the tool runs on it:
- An icon that points against its buttonnot started
What it checks
- Controls whose label,
relor class says "next" («التالي», «المزيد»,next) or "back" («السابق», «رجوع»,prev) in a right-to-left context. - The direction of the icon inside: a Font Awesome, Bootstrap Icons, Lucide or Material icon name, an SVG symbol, or an arrow character «→» «←».
- Whether the icon is mirrored by CSS (a transform, or the opposite icon in right-to-left).
Example
<a href="/offers" class="next">التالي <span class="icon-arrow-right"></span></a>
<a href="/offers" class="next">التالي <span class="icon-arrow-left"></span></a>
How to fix
- On Arabic pages, "next" points left and "previous" points right. Use the opposite icon, or mirror it with CSS (below).
- In sliders (Swiper, Slick, Owl), turn on the library's right-to-left option and test the arrows.
- Prefer logical icon names (
arrow-forward,chevron-end) or CSS that flips the icon with the direction. - Do not mirror icons that are not about direction: a clock, a search glass, a logo.
- Test on a phone: tap each arrow and see that it moves the way it points.
The mirroring in step 1, in CSS:
[dir='rtl'] .icon-arrow-right,
[dir='rtl'] .icon-arrow-left {
transform: scaleX(-1);
}FAQ
Because an icon is an image or a character; the browser flips the layout, not what is drawn in it. Icon libraries and sliders draw their arrows for English pages.
No, only icons that show direction (arrows, chevrons, "back", "forward", "reply"). Icons for things in the real world are not mirrored.
It looks at aria-label, title, the text, rel and the class. A control with no such word is not judged; give your arrows an aria-label, which they need for screen readers anyway.
No. It renders the page and reads the icons and styles. Nothing is clicked.
What this tool runs
- An icon that points against its buttonmoderate
rtl-icon-role
How we measure
We render the page in three browsers and look, in controls read right to left, for a role in their label, rel or class, and for an icon of known direction in them. A control is reported when every icon in it points against its role. A control with no icon of known direction, whose label has both roles, or that reads left to right, is not judged. See the rule's page for the details.