/a11y-i18n-remediator:rtl-ready css-or-component-dirfrom a11y-i18n-remediator
Audit CSS/components for RTL readiness and rewrite physical properties to logical equivalents
Ships in a11y-i18n-remediator. Installing the plugin adds it to Claude Code.
Audit the styles and components in $ARGUMENTS (or the current diff) for right-to-left readiness, and rewrite direction-hardcoded CSS into logical, bidi-safe equivalents. Most "we don't support Arabic/Hebrew yet" debt is a pile of physical left/right properties that a mechanical rewrite fixes safely; the rest is a short list of things that genuinely need human eyes. Load the catalog-hygiene skill's references/rtl-logical-properties.md for the property map and pitfalls.
Read the target CSS/SCSS/Less, CSS-in-JS, Tailwind classes, and inline styles. Note whether the project already sets dir="rtl" anywhere, uses logical properties at all, or relies on a bidi library, this tells you whether you are starting a retrofit or finishing one.
Grep for the physical properties and flag each with file:line:
| Physical (LTR-baked) | Logical (direction-aware) |
|---|---|
margin-left / margin-right | margin-inline-start / margin-inline-end |
padding-left / padding-right | padding-inline-start / padding-inline-end |
left / right (offsets) | inset-inline-start / inset-inline-end |
text-align: left / right | text-align: start / end |
border-left / border-right | border-inline-start / border-inline-end |
float: left / right | float: inline-start / inline-end |
border-radius per-corner | border-start-start-radius etc. |
These need judgment, not a find-replace, list them as caveats, do not blindly flip:
translateX, transform-origin, and skews may need [dir="rtl"] overrides.dir="auto" / Unicode isolation (<bdi>), not CSS.Rewrite the mechanical physical→logical substitutions in place (they are safe in both directions, logical properties resolve to physical ones under dir="ltr"). Emit exactly these sections:
## Physical Properties Rewritten: the before/after diff, grouped by file.## Manual RTL Caveats: the Step-3 list with the specific file:line and what a human must decide (mirror this icon? add a [dir] override?).## Direction Setup: whether dir is wired to the active locale and where to set it if not.file:line; never invent a rule that isn't in the source.dir correctly at the document/root per locale is a prerequisite; logical properties do nothing until direction is actually set.What the command file sets; muted values are Claude Code's defaults
inherit7-day visitors to each command page
npx claudepluginhub sigistry/marketplace --plugin a11y-i18n-remediator5 commands in this plugin
/a11y-auditProcessAudit UI for WCAG 2.2 violations and report each grouped by success criterion with a concrete fix/a11y-fix-focusProcessFix keyboard and focus-management problems in a component and emit before/after diffs/i18n-doctorProcessAudit translation catalogs for missing/unused/untranslated keys and ICU errors, and emit a health report/i18n-extractProcessExtract hardcoded user-facing strings into the translation catalog and rewrite call sites idiomatically