What is digital accessibility?Article contains
  1. Understanding and implementing accessibility: a practical guide
  2. Web Accessibility Initiative: ensuring inclusivity for all users
  3. Web Accessibility Success Criteria: enhancing user experience for people with disabilities
  4. WCAG Conformance levels: achieving optimal accessibility standards
  5. A Summary of digital accessibility best practices
  6. Essential minimum requirements for web accessibility
  7. Crafting an Accessibility Statement for your website
  8. Concluding remarks: essential considerations for digital accessibility
  9. Estimate how many people using your website might be disabled
Definitive guide to indeterminate state of a checkboxArticle contains
    1. Common use case
  1. Understanding the indeterminate property
    1. Key characteristics
    2. CSS pseudo-class
  2. Practical use case: parent-child checkbox pattern
  3. Indeterminate vs. mixed state: clarifying the terminology
  4. Detecting the indeterminate state
  5. How to change the indeterminate state
    1. Setting indeterminate state
    2. Important notes
    3. Example with parent-child logic
  6. Key takeaways
  7. Browser support
  8. Complete working example
  9. Resetting a checkbox to its initial state
    1. Example: manual reset
  10. Accessibility support for indeterminate state
    1. Live code examples
    2. Screen reader compatibility
    3. Accessibility best practices
  11. Common pitfalls and best practices
    1. Pitfalls to avoid
    2. Best practices and recommendations
  12. Further reading and resources
3 checkboxes with following states: unchecked, indeterminate, checked

Definitive guide to indeterminate state of a checkbox

In HTML, the indeterminate state is a special visual state for form elements like checkboxes, radio buttons, and progress bars. For checkboxes, this state represents a condition where the checkbox is neither checked nor unchecked – it’s a third visual state typically displayed as a horizontal line (dash) inside the checkbox instead of a checkmark.

Important: the indeterminate state cannot be triggered by user interaction (such as clicking, hovering, or partial clicks). It is only set programmatically via JavaScript and is purely visual – it doesn’t affect the checkbox’s submitted value.

Common use case

The indeterminate state is most commonly used in hierarchical checkbox lists (parent/child relationships) to indicate that some, but not all, child checkboxes are selected. For example:

  • Parent checkbox: indeterminate state (dash) when some children are checked
  • Parent checkbox: checked state when all children are checked
  • Parent checkbox: unchecked state when no children are checked
Continue reading “Definitive guide to indeterminate state of a checkbox”
How to implement multiple selection with check boxes in an HTML without external librariesArticle contains
  1. Implementing multi-select dropdowns with checkboxes in HTML without external libraries
  2. Example code for multiple selection with checkboxes
    1. Basic example without javaScript
    2. Advanced example with JavaScript for ESC key action
    3. Allowing the user to select only one checkbox
    4. Keep open only one details element at a time
  3. Final notes on implementing multiple selection with checkboxes
"I'm possible" word with jumping person above

How to implement multiple selection with check boxes in an HTML without external libraries

The <select> HTML element represents a control that provides a menu of options. When used with an attribute multiple then it allows selecting multiple options at once. However, the current implementation for multiple selections is not optimal on a desktop device so we need to find a different way. The goal would be to build multiple selections that are accessible to everyone.

Continue reading “How to implement multiple selection with check boxes in an HTML without external libraries”
Lazy loading CSS background images for better website loading performanceArticle contains
  1. Can you lazy load background images?
  2. Set the goals for lazy loading CSS background
  3. The solution
  4. Workable example
  5. Download package
  6. Discussions
  7. Improved lazy loading for images, video, and audio
  8. How to set lazy loading images on other libraries
Collection of pictures in frame

Lazy loading CSS background images for better website loading performance

Every single HTTP request decreases loading performance. For a simple image, the attribute loading="lazy" can be used in order to defer the loading of off-screen images until the image appears on the screen. Lazy loading of images improves performance by reducing initial page load time, initial page weight, initial page rendering, and system resource usage.

  1. Initial page load time – with lazy loading, the page is loaded faster because only images that are visible on the screen are loaded.
  2. Initial page weight – because images that aren’t visible won’t be downloaded. Hence, the whole page weight will be smaller.
  3. Initial page rendering – less images to render, the faster the whole page will be rendered for the user.
  4. System resource usage – this refers to less resource usage like CPU, network, etc.
Continue reading “Lazy loading CSS background images for better website loading performance”
4 simple things you should do in optimising website loading performanceArticle contains
  1. Delay loading scripts for improved performance
    1. Reduce HTTP connections and download cost
    2. Consider download and execution costs
    3. Multiple scripts in one line can still result in multiple HTTP requests
    4. Be cautious when utilizing User Traffic Analytics
  2. Concatenation for efficient script delivery
  3. Brotli compression for faster page loading
  4. Boost website performance with HTTP/2
  5. Latest update: Optimize the use of multiple SVGs
Stopwatch

4 simple things you should do in optimising website loading performance

Everyone wants their site to be loaded fast. It’s not only good from the SEO perspective but also from the user experience perspective. However, achieving fast loading website it’s that easy quite often. Some use a one-click solution to magically resolve all loading performance issues. Use that with caution as those won’t resolve all issues you may have.

Continue reading “4 simple things you should do in optimising website loading performance”
How to set the focus on element and prevent from scrollingArticle contains
  1. How can I prevent scrolling when setting focus on an element?
  2. HTML code
  3. JavaScript code
  4. How do I detect if a browser supports preventScroll option?
  5. Why is the "prevent scroll" feature not working in JavaScript?
Why was SiteLint founded?Article contains
  1. Identify limitations
  2. A new era of keeping the web app/site quality