Sass with RTL and LTR support: creating multilingual websitesArticle contains
  1. Understanding Sass with RTL and LTR Support
  2. Key definitions and explanations
  3. A screenshot of a page with right-to-left content
  4. How to implement RTL and LTR support in Sass
  5. Changing the locale in Chromium-based browsers
  6. Tips and tricks for managing bi-directional text
    1. Time
    2. Parentheses
  7. Additional resources for managing bi-directional text
Arabic text example

Sass with RTL and LTR support: creating multilingual websites

Sass with RTL and LTR support isn’t available out of the box, but it can be done through simple Sass @mixin and @include rules that can be used across all Sass files.

RTL stands for Right-to-Left. It is a writing direction used in languages such as Arabic, Hebrew, and Persian. Supporting both right-to-left (RTL), more often bi-directional (BiDi), and left-to-right (LTR) representations of Web pages can be a challange.

Note that you can also achieve the same with Less (which stands for Leaner Style Sheets).

Continue reading “Sass with RTL and LTR support: creating multilingual websites”
WCAG 2.2: New Web Accessibility Guidelines for Improved User ExperienceArticle contains
  1. WCAG 2.2: what's new
  2. Summary
Smartphone and two monitors next to it

WCAG 2.2: New Web Accessibility Guidelines for Improved User Experience

Web Content Accessibility Guidelines (WCAG) 2.2 was published as a W3C Recommendation web standard on October 5, 2023.

According to the World Wide Web (W3) site:

WCAG 2.2 was initiated with the goal to continue the work of WCAG 2.1: Improving accessibility guidance for three major groups: users with cognitive or learning disabilities, users with low vision, and users with disabilities on mobile devices.

This is huge news for anyone who creates websites, digital services, or mobile applications, or if you simply care about making the internet more accessible in general.

Continue reading “WCAG 2.2: New Web Accessibility Guidelines for Improved User Experience”
Solution to "Type 'FileList' must have a '[Symbol.iterator]()' method that returns an iterator"Article contains
  1. Solution to the error Type 'FileList' must have a '[Symbol.iterator]()' method that returns an iterator
  2. Notes
European Accessibility Act in questions and answersArticle contains
  1. Key documents
  2. Why it was created?
  3. What steps must businesses take right now to implement the act?
  4. What products and services fall under the regulation of the Act?
    1. Products
    2. Services
  5. What laws now apply, how will they change, and when? Exist any special cases?
  6. What are the standard demands made by the Act?
  7. When services or goods fail to adhere to the new regulations, what can users do?
  8. Additional resources
European Union flag with sentence "European Accessibility Act in questions and answers"

European Accessibility Act in questions and answers

A new set of minimum accessibility standards for a variety of products and services has been established across the EU under the European Accessibility Act (EAA), a piece of EU legislation. It aims to make it easier for people with disabilities to access the goods and services that are offered inside the EU’s internal market.

The Act is a Directive, which means it sets binding accessibility goals upon ratifying the United Nations Convention on the Rights of Persons with Disabilities but leaves it to the Member States of the European Union to decide how they want to achieve them. It was implemented in 2019 and completes and complements existing accessibility-related EU laws.

Continue reading “European Accessibility Act in questions and answers”
Cache busting in Angular for static assetsArticle contains
  1. What is cache busting in Angular?
  2. A solution to the cache busting problem in Angular
  3. Effortlessly manage and update static assets in your Angular application
    1. Angular-based approach for cache busting static assets
  4. Share your feedback and improve the solution
  5. Explore a real-world example of cache busting in Angular
Fixing layout shifting brought on by custom fontsArticle contains
  1. How custom fonts affect layout shifting and what to do about it
  2. What the page look like before and after rendering custom web fonts?
  3. Strategies for minimizing layout shifts with custom fonts
  4. Enhancing font loading and rendering for better user experience and SEO
  5. Additional considerations for optimizing font performance and user experience
  6. What fonts do not produce layout shifts?
Letter with sample fonts

Fixing layout shifting brought on by custom fonts

Custom fonts impact performance through delayed text rendering and layout shifts. This is because they have to be downloaded and the layout must be repainted again. When a visible element on your website changes size or location, it might have an impact on the position of the content surrounding it. This is known as a layout shift.

Note that if a web font has not loaded, browsers typically delay text rendering.

Continue reading “Fixing layout shifting brought on by custom fonts”
How to play YouTube videos in the background in the Brave browser (Android and iOS)Article contains
  1. How to play YouTube videos in the background on Android
  2. How to play YouTube videos in the background on iOS
How do I clear a big /var/log/journal folder?Article contains
  1. The problem
  2. How do I safely clear a big /var/log/journal folder?
    1. Determine how much disc space /var/log/journal consumes
    2. Clear (reduce) the folder size instantly
  3. Control the amount of disc space that /var/log/journal can utilise
OpenAI releases GPTBot with instructions on how to restrict accessArticle contains
  1. How GPTBot works
  2. GPTBot access restrictions
  3. Concerns regarding legal and ethical issues
Monitor and the sentence Chat GPT on it

OpenAI releases GPTBot with instructions on how to restrict access

OpenAI has released GPTBot, a new web crawler designed to boost future artificial intelligence models such as GPT-4 and the upcoming GPT-5. According to an OpenAI blog post, using GPTBot has the potential to improve existing AI models in areas such as accuracy and safety.

Web pages crawled with the GPTBot user agent may potentially be used to improve future models and are filtered to remove sources that require paywall access, are known to gather personally identifiable information (PII), or have text that violates our policies. Allowing GPTBot to access your site can help AI models become more accurate and improve their general capabilities and safety. Below, we also share how to disallow GPTBot from accessing your site.

Continue reading “OpenAI releases GPTBot with instructions on how to restrict access”
How to pause and resume event propagation in JavaScript?Article contains
  1. How to pause and resume events in JavaScript
  2. Support for asynchronous operations during event propagation pause
  3. Techniques for pausing and resuming event propagation
  4. Implementing event pausing and resuming in JavaScript
  5. Implementing event pausing and resuming on input type file