3 simple tips to make text over image more readableArticle contains
  1. The importance of good contrast in making text over images readable
  2. Enhancing accessibility: Techniques for making text over images clearer
    1. Text shadow
    2. Text stroke
    3. Text shadow vs text stroke comparison
    4. Using CSS @supports for both text-stroke and text-shadow
    5. Black solid layer with opacity
  3. Browsers that improve readability of text on images
  4. Recap and next steps
2 houses covered in snow

3 simple tips to make text over image more readable

If you add text over an image, make sure there is enough contrast to make it readable. Subtle changes may be made to boost contrast without changing the overall aesthetic of the site.

The Web Content Accessibility Guidelines (WCAG) is an internationally recognized standard created by the World Wide Web Consortium (W3C), and WCAG calculates it as a ratio describing the relative luminance of the text and background.

Let’s then see 3 tips to make text over image accessibility better in HTML using CSS.

Continue reading “3 simple tips to make text over image more readable”
SEO and traps with creating meta description in WordPressArticle contains
  1. How the meta description is actually created in WordPress
  2. Traps
  3. What, if meta descriptions differ from each other
  4. Are there other ways to generate a meta description?
SEO letters in bricks

SEO and traps with creating meta description in WordPress

An HTML element that offers a brief overview of a web page is known as a meta description (example <meta name="description" content="Describe your page content here"/>). The meta description tag of a website is displayed as part of the search snippet on a search engine results page (SERP) and is intended to provide the user with a summary of the content on the page and how it relates to their search query.

Search results snippet example from Google

The click-through rate (CTR) can be influenced by the meta description. That is, they can impact whether a person visits your page. As a result, it is the critical on-page SEO factor.

In this article, we’ll cover the traps that are hidden while using WordPress and plugins that automate that process.

Continue reading “SEO and traps with creating meta description in WordPress”
Introducing Page To Speech feature using Web Speech APIArticle contains
  1. Major challenges
  2. Benefits
  3. What's Web Speech API?
  4. Limitations and drawbacks
  5. Browser compatibility
  6. Demo
  7. Feedback
  8. Additional resources
Browser keyboard navigation in macOSArticle contains
  1. Why can't I use my keyboard to move between links on macOS?
  2. The solution for enabling navigation through all focusable interactive elements
  3. Safari browser settings
Best practices for writing good alt textArticle contains
  1. Good and bad alt text example
  2. The alt text and what to include - best practice
  3. Supplemental information
  4. Usage scenarios
  5. Example code
  6. Final words
Simple image gallery - accessible, responsive and with preloadingArticle contains
  1. Desired features
  2. Demo
  3. Tips for creating an accessible image gallery
Determining viewport size - small, medium and large - using CSSArticle contains
  1. CSS code for determining viewport size
  2. How to get the value of the viewport size
  3. Practical example of viewport size determination
Computer and mobile phone

Determining viewport size – small, medium and large – using CSS

To get the viewport size using CSS in JavaScript, you can utilize the getComputedStyle method to access the content of a pseudo-element, such as ::before, which can be defined in your CSS media queries. This allows you to dynamically determine the viewport size category (e.g., small, medium, large) based on the current screen width, enhancing responsive design capabilities.

The browser viewport is the screen that actually shows the webpage. Determining its size might be handy when we want to provide some specific features for the viewport size.

Continue reading “Determining viewport size – small, medium and large – using CSS”
What is a Single Page Application?Article contains
  1. What is the difference between Single Page Application and Multi Page Application?
  2. Benefits of Single Page Applications
  3. The Downsides of Single Page Applications
  4. SEO and crawling challenges
  5. Single page app example sites
Single Page Application

What is a Single Page Application?

A Single Page Application (SPA) is a web application or website that works within a web browser and only loads one document. It does not require page refreshing while in use, and the majority of its content remains unchanged with only minor updates.

Primary goal is to enable faster transitions and make the web application or website feel more like a native application.

Continue reading “What is a Single Page Application?”
Create custom and accessible tooltipArticle contains
  1. Requirements for creating custom and accessible tooltips in HTML
  2. Notes
    1. Reduce motion using CSS prefers-reduced-motion
    2. How to make tooltips with only CSS?
  3. Experimental example
  4. How a screen reader works with our tooltip
  5. Frequently Asked Questions about tooltips
    1. Do screen readers read tooltips?
    2. How do users access a tooltip?
    3. Why is it called a tooltip?
    4. Should you put links in tooltips?
  6. Resources
Why using rule important in CSS is bad?Article contains
  1. What is !important CSS rule?
  2. Is using the CSS !important rule bad?
  3. What can be done instead of using !important?
  4. Exceptions in the !important flag usage