Definitive guide to indeterminate state of a checkbox article contains
  1. What is the indeterminate property of a checkbox?
  2. What is a mixed checkbox?
  3. How do I change the indeterminate state of a checkbox?
  4. Accessibility support
    1. Indeterminate checkboxes
  5. Results
3 checkboxes with following states: unchecked, indeterminate, checkedDefinitive guide to indeterminate state of a checkbox

Definitive guide to indeterminate state of a checkbox

<input /> elements of type checkbox represents a state or option that can be toggled. A well known states are called checked and unchecked. However, in addition to the checked and unchecked states, there is a third state of a checkbox: indeterminate. In most cases, it is represented by a horizontal line in the box instead of a check/tick.

Continue reading “Definitive guide to indeterminate state of a checkbox”
How to implement multiple selection with check boxes in an HTML without external libraries article contains
  1. Multi select dropdown with checkbox goals
  2. Example code
  3. Allow user to select only one checkbox
  4. Final notes
"I'm possible" word with jumping person aboveHow to implement multiple selection with check boxes in an HTML without external libraries

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 performance article contains
  1. Set the goals for lazy loading CSS background
  2. The solution
  3. Workable example
  4. Discussions
  5. Update with another approach using CSS variable
    1. Resources
  6. Improved lazy loading for image, video, and audio
Collection of pictures in frameLazy loading CSS background images for better website loading performance

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. Using lazy-loading we achieve at least 2 benefits over the traditional embedding in HTML.

Continue reading “Lazy loading CSS background images for better website loading performance”
4 simple things you should do in optimising website loading performance article contains
  1. Delay loading scripts when they don't have to be loaded on the initial page load
    1. Limit the number of HTTP connections
    2. Download and execution cost
    3. One line script is not equal to one HTTP request
    4. Carefully while using User Traffic Analytics
  2. Concatenation
  3. Brotli compression
  4. HTTP/2
  5. Update: Optimise multiple SVGs usage
Stopwatch4 simple things you should do in optimising website loading performance

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”
Tech tip: how to set the focus on element and prevent from scrolling article contains
  1. HTML code
  2. JavaScript code
Owl birdTech tip: how to set the focus on element and prevent from scrolling

Tech tip: how to set the focus on element and prevent from scrolling

The HTMLElement.focus() method sets focus on the specified element. The focused element will receive a keyboard and similar events by default. However, sometimes you would like to prevent scrolling the document to bring the newly-focused element into view. This could be useful when you want to check if the element is capable to receive focus.

Continue reading “Tech tip: how to set the focus on element and prevent from scrolling”
Why was SiteLint founded? article contains
  1. Identify limitations
  2. A new era of keeping the web app/site quality