macOS, Apache and ERR_CONNECTION_REFUSED fixArticle contains
  1. Fixing Apache ERR_CONNECTION_REFUSED error on macOS
  2. Understanding the terminal command
  3. Summary
Favicon issues in Bing search results and how to fix themArticle contains
  1. Troubleshooting tips
    1. Ensure the favicon has a valid format
    2. Ensure the favicon has correct URL location
    3. Search engines do not require favicons to be listed in sitemaps
    4. Correct implementation in the HTML code
    5. Ensure the favicon file is not blocked by robots.txt
    6. Bing's crawler has not yet updated the website's information in its index
  2. Handy tips for favicon verification
    1. Grab favicon.ico using the developer tools for Google Chrome
    2. Determine if a favicon exists on your site
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. Considerations for 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. 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 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. Accessibility considerations
  4. Alternatives to truncation
  5. Avoid information loss