Posts
-
Raspbian, Apple Bluetooth Keyboard and Trackpad
I started with this post and was able to connect the Apple Bluetooth Trackpad but not the Apple Bluetooth Keyboard.
-
text-overflow:ellipsis - Is it worth using?
Ellipsis is a series of dots that usually indicates an intentional omission of a word, sentence, or whole section from a text without altering its original meaning. - Wikipedia
-
Every image must have alt attribute
Every
<img>
must have an associatedalt
attribute. The associatedalt
attribute must either have meaningful content or be empty. -
Focus Reset and Guided Focus Management
Focus reset happens when an active (currently focused) element, gets removed form the DOM or the render tree. On focus reset,
document.activeElement
refers to relative top mostnode
; i.e.body
oriframe
, leading to an unpleasant user experience for keyboard only users and screen reader users.To mitigate the
focus reset
problem, one must implementguided focus management
. As the name suggests, inguided focus management
, one programmatically focuses the desired HTML element/node.For example, when a modal is displayed, the modal container is focused, similarly, when a modal is dismissed, the element that had triggered the modal display, is focused.
When an HTML element/node is focused, screen reader generally reads out the content of the HTML element, which serves as a feed back to the non sighted users.
-
tab order and tab navigation simulation
This is a follow up of tab order and tabindex post, simulating tab order and tab navigation using left and right arrows.