Skip to content

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

Renders the page in:ChromiumFirefoxWebKit

Free, no sign-up.

What we keep

We keep the address exactly as you send it, including anything after a “?”, and its report shows it. Anyone who has the report’s link can open it, so leave out tokens, keys and personal data.

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, rel or 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

WrongHTML
<a href="/offers" class="next">التالي <span class="icon-arrow-right"></span></a>
RightHTML
<a href="/offers" class="next">التالي <span class="icon-arrow-left"></span></a>

How to fix

  1. On Arabic pages, "next" points left and "previous" points right. Use the opposite icon, or mirror it with CSS (below).
  2. In sliders (Swiper, Slick, Owl), turn on the library's right-to-left option and test the arrows.
  3. Prefer logical icon names (arrow-forward, chevron-end) or CSS that flips the icon with the direction.
  4. Do not mirror icons that are not about direction: a clock, a search glass, a logo.
  5. Test on a phone: tap each arrow and see that it moves the way it points.

The mirroring in step 1, in CSS:

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.

How we measure

Last updated Methodology and scoring

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.