Get XPath from the element using JavaScriptArticle contains
  1. Custom function to get XPath
  2. Breakdown of how it works
  3. Additional tools
Should we avoid writing in all caps?Article contains
  1. Uppercase text slows down reading speed
  2. The effect of uppercase text on word recognition
  3. Why all caps are perceived as yelling
  4. Alternatives to using all caps for emphasis
    1. Use italics for emphasis
    2. Use bold formatting
    3. Small caps
    4. Employ strategic placement and punctuation
    5. Avoid overemphasis
  5. Does all caps affect screen readers?
  6. English capitalization guidelines
  7. Does capitalization affect SEO?
  8. Are there any legal requirements or regulations regarding the use of all caps in digital communications?
  9. Conclusion
Sentence "FRAGILE" on the wood written in all caps

Should we avoid writing in all caps?

Uppercase reading is more difficult to read since the forms of all uppercase letters are rectangular, and readers are not used to reading text in this way. As a result, it is more difficult to scan, less efficient, and hence less readable.

However, all caps are accepted for words that do not need reading, such as logos and acronyms.

One of the simplest methods to improve your website’s content is to use consistent capitalization guidelines. Above all, do not use all capital letters (commonly known as all caps) in your headings and text.

Continue reading “Should we avoid writing in all caps?”
Surprising facts and figures about digital accessibilityArticle contains
  1. Global impact
  2. Web accessibility
  3. Economic impact
  4. Legal ramifications
  5. Benefits of accessibility
  6. Digital accessibility gaps
  7. Employment and education
    1. Education and employment opportunities
    2. E-learning platforms
  8. Conclusion
Three books stacked on top of each other

Surprising facts and figures about digital accessibility

Digital accessibility, in simple terms, is about making sure that websites, apps, and other digital tools are usable by everyone, regardless of whether they have a disability or not. Imagine you’re trying to visit a website but can’t see well, or you’re using a voice command instead of typing because you can’t use your hands. Digital accessibility ensures that these tools work for you too, just like they would for anyone else.

Here are some surprising facts and figures that highlight the importance of digital accessibility.

Continue reading “Surprising facts and figures about digital accessibility”
Use JavaScript to determine whether a string is a valid JSON stringArticle contains
  1. Check if provided string is a valid JSON string code
  2. Code explanation
The text "JavaScript. Is my string a valid JSON string?" on a desert.

Use JavaScript to determine whether a string is a valid JSON string

To determine whether a string is a valid JSON string in JavaScript, you can use the JSON.parse() method within a try...catch block. This approach leverages the fact that JSON.parse() throws a SyntaxError exception if the input string is not valid JSON. By catching this exception, you can accurately determine if the string represents valid JSON.

Continue reading “Use JavaScript to determine whether a string is a valid JSON string”
Making chatbots accessible: A guide to enhance usability for users with disabilitiesArticle contains
  1. Visual accessibility
  2. Auditory accessibility
  3. Motor accessibility
  4. Cognitive accessibility
  5. Universal design features
  6. Testing and feedback
  7. Compliance and ethical considerations
  8. Technical advises
  9. General recommendations for choosing an accessible chatbot platform
    1. Customizability
    2. Compliance with WCAG standards
    3. Testing capabilities
    4. Support for rich media accessibility
    5. Keyboard navigation
  10. Final words
A person using a tablet indoors. The person is interacting with the device, reading and typing messages on the chat app.

Making chatbots accessible: A guide to enhance usability for users with disabilities

Previously, we discussed the Urgent Need for Chatbots to be Accessible. In this piece, we are taking a deep dive into actions one can take to enhance the accessibility of chatbots for users with disabilities. In order to meet that end, programmers can implement several specific strategies that address visual, auditory, motor, and cognitive impairments. This guide offers detailed instructions, practical code examples, and tool recommendations to make chatbots more accessible.

Let’s get started.

Continue reading “Making chatbots accessible: A guide to enhance usability for users with disabilities”
How to validate an email address in JavaScriptArticle contains
  1. checkValidity method from an input type="email"
  2. Validate an email address in JavaScript
  3. Avoiding a complex regular expression
  4. Final note
A hand pointing to dozens of envelopes symbolizing electronic email and the text "JavaScript validating email format"

How to validate an email address in JavaScript

To check if an email is valid using JavaScript, you can use the checkValidity() method from an <input type="email"/> field (when checking in the browser environment) and additionally check for at (@) symbol in the email address.

We are going to validate the email address format only using browser and custom validation, but not if the email actually exists.

The below code consists of two functions: isInputTypeSupported and isValidEmail. These functions are designed to validate input types and email addresses, leveraging the HTML5 form validation capabilities and custom logic for more comprehensive validation.

Continue reading “How to validate an email address in JavaScript”
The urgent need for accessible chatbotsArticle contains
  1. Understanding the accessibility gap in chatbots
  2. Technical Barriers to Accessibility
  3. Best practices for enhancing chatbot accessibility
  4. Legislative and ethical considerations
  5. Conclusion
  6. Iconographic for enhancing chatbot accessibility
The image shows a person using a tablet indoors. The person is interacting with the device, and there may be text or content displayed on the screen. The individual is wearing clothing and is engaged with technology.

The urgent need for accessible chatbots

Human communication is evolving and chatbots have become ubiquitous, offering round-the-clock customer service, streamlined shopping experiences, and instant access to information. However, despite their convenience and efficiency, there is a critical aspect that is often overlooked: accessibility. Many current chatbots fail to provide adequate support for users with disabilities, a significant oversight that needs immediate attention and action.

Continue reading “The urgent need for accessible chatbots”
Truncating text and making it accessibleArticle contains
  1. CSS techniques for truncation
    1. CSS for single-line text truncation
    2. CSS for multi-line text truncation
  2. JavaScript for truncation
    1. Truncating text by words
    2. Truncating by characters
    3. Truncating in the middle
  3. How do JavaScript solutions differ from CSS truncation techniques?
    1. Flexibility and dynamic content manipulation
    2. Performance considerations
    3. Use cases
  4. Accessibility considerations
  5. Alternatives to truncation
  6. Avoid information loss
Redirecting to www or non-www using Apache htaccessArticle contains
  1. Using .htaccess to redirect to www or non-www
    1. Redirect from www to non-www
    2. Redirect from non-www to www
Website Accessibility: Separating Myths from FactsArticle contains
  1. Myth 1: The disability population is too small to matter
  2. Myth 2: Accessibility makes websites unattractive
  3. Myth 3: Only web developers need to worry about accessibility
  4. Myth 4: Automated tools are sufficient for accessibility testing
  5. Myth 5: Web accessibility isn't legally required
  6. Myth 6: Implementing accessibility is too expensive and time-consuming
  7. Myth 7: There are no tangible benefits to web accessibility
  8. Call to Action: Elevate your website's accessibility now
  9. Iconographic for Digital Accessibility Myths and Facts