Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Support Option for RTL/LTR direction #439

Open
softrebel opened this issue Jan 16, 2025 · 0 comments
Open

[Feature Request]: Support Option for RTL/LTR direction #439

softrebel opened this issue Jan 16, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@softrebel
Copy link

Currently, the project's HTML structure does not fully support right-to-left (RTL) languages. This limits accessibility and usability for users who primarily use RTL languages like Arabic, Persian, Hebrew, etc.

To make the project more inclusive and accessible to a wider audience, we should implement changes to the HTML structure and CSS to properly support RTL layouts.

Here are some specific areas to consider:

  • Text Direction: Ensure that the dir="rtl" attribute can be applied appropriately to elements when needed.
  • Layout and Alignment: Check that the layout and alignment of elements correctly adjust when in RTL mode.
  • Iconography: Verify that icons and other graphical elements display as expected in RTL mode (e.g., mirrored, where appropriate).
  • CSS: Utilize appropriate CSS rules to handle RTL adjustments such as using logical properties (e.g., start, end) instead of physical properties (e.g., left, right) wherever possible.

I've solved the issue by adding a key to the LOCALE and Layout in Astro. If it's okay, I'll submit a PR.

@softrebel softrebel added the enhancement New feature or request label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant