Definitive guide to indeterminate state of a checkboxArticle contains
  1. What is the indeterminate property of a checkbox?
  2. What are some use cases of the indeterminate state?
  3. What is a mixed checkbox?
  4. How do I check if a checkbox is in indeterminate state?
  5. What is the indeterminate value of the checkbox?
  6. How do I change the indeterminate state of a checkbox?
  7. Notes
  8. Workable example
  9. Accessibility support
    1. Indeterminate checkboxes (live code checkbox)
    2. Results
How to implement multiple selection with check boxes in an HTML without external librariesArticle contains
  1. Multi select dropdown with checkbox goals
  2. Example code
    1. Multiple selection with check boxes example code without JavaScript
    2. Multiple selection with check boxes example code with JavaScript to handle ESC key action
    3. Allow user to select only one checkbox
  3. Final notes
"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 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
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”
Tech tip: how to set the focus on element and prevent from scrollingArticle contains
  1. HTML code
  2. JavaScript code
Owl bird

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