Perceived Brightness Calculator - Online Luminance Formula
Calculate the perceived brightness of an RGB color and determine if black or white text is more readable. Accessibility tool.
UD5 Toolkit
Paste HTML and see exactly what a screen reader would announce — online, free, instant.
Enter HTML on the left and click Analyze to see what a screen reader says.
Detailed element-by-element breakdown will appear here.
<h1> is announced as "Heading level 1," a <button> as "Button," and an <img> reads its alt attribute. Popular screen readers include JAWS, NVDA (Windows), VoiceOver (macOS/iOS), and TalkBack (Android). This simulator helps developers preview how their markup sounds.
alt attribute provides a text alternative for images. When a screen reader encounters an image, it announces the alt text. If alt is missing, some screen readers fall back to reading the filename (e.g., "IMG_2024_photo.jpg"), which can be confusing. An empty alt="" tells the screen reader to skip the image entirely — ideal for purely decorative images. Best practice: always include meaningful alt text for informative images and use alt="" for decorative ones. This tool highlights images with missing alt attributes so you can fix them.
aria-label attribute overrides the visible text content for assistive technologies. For instance, a link with visible text "Click here" but aria-label="Learn more about accessibility" will be announced as "Learn more about accessibility — Link." This is powerful for providing context that sighted users get visually. However, overusing aria-label can create confusion if it diverges too far from visible text. Our simulator respects aria-label and shows you exactly what gets announced.
aria-hidden="true" completely hides an element and all its children from screen readers — even if the element is visually displayed. This is useful for hiding decorative icons, redundant text, or off-screen content that should not be announced. However, never use aria-hidden on focusable elements (like links or buttons), as this creates a confusing experience where a user can tab to something the screen reader won't announce. Our simulator skips aria-hidden="true" elements entirely, just like real screen readers.
<a>) with "Link" after the text, signaling navigation. Buttons (<button>) are announced with "Button," signaling an action. This distinction is crucial: use <a> for navigation (moving to another page/section) and <button> for interactions (submitting forms, toggling menus). Styling a <div> to look like a button without role="button" makes it invisible to screen readers as an interactive element — a common accessibility failure.
<input> with a <label> using the for attribute or by nesting. Without a proper label, screen readers may only say "edit blank," leaving users guessing what to enter. Our simulator shows you how form elements are announced, including placeholder fallbacks when labels are missing.
Calculate the perceived brightness of an RGB color and determine if black or white text is more readable. Accessibility tool.
Enter a text color and background color and instantly see if the combination passes WCAG AA and AAA ratio. Safe colors.
Paste HTML snippet and highlight interactive elements missing accessible labels. Quick a11y audit.
Paste an SVG and check if the graphic‑aria roles are used correctly. Improve accessible diagrams and icons.
Paste an HTML snippet and check for common ARIA mistakes: missing labels, invalid roles, and aria‑hidden misuse. Educate your team.
Paste a set of hex colors and simulate how they appear with common color vision deficiencies. Get contrast warnings.
Create a fully accessible form by adding fields; the tool generates the proper labels, inputs, and ARIA attributes. Copy the clean HTML.
Paste a string of weather emojis and get a written weather forecast. Fun and educational emoji tool.
Build a 3D card flip effect and toggle backface‑visibility. See the hidden back face. Copy the complete CSS.
Convert plain text into HTML‑safe strings by escaping <, >, &, and quotes. Insert into code safely. Local copy.
Search common dream symbols and their traditional meanings. For entertainment and self-reflection. Static data.
Pick a base color and generate a 10‑step scale where each step meets a specific contrast ratio against white or black. Export as CSS custom properties.
Automatically restore natural colors to a photo by removing color casts. Gray world algorithm. One‑click fix. Canvas.
See how a PWA can extend content into the title bar area on desktop. Customize the window controls overlay.
Enter any number up to trillion and get the English word representation. For filling out checks or legal documents.
Convert plain text lines into HTML ordered or unordered lists. Instantly copy the generated HTML to paste into your website. No hassle, fully browser-based.
Interactive visual guide to figure out if a door is left-handed or right-handed. Click through steps. Avoid ordering the wrong door.
Enter original and target color to compute the exact CSS hue‑rotate(deg) filter needed. For precise icon and image tinting.
Convert .srt subtitles to .vtt format for web video players. Preserves all timestamps and formatting. Local.
Generate a grand, aristocratic title like 'Duke of Waffleshire'. Perfect for silly fun or RPG characters. Local.
Reverse any short video clip and download the backward version. Fun for creative effects. Browser‑based.
Create a 5‑star rating widget using only HTML and CSS. Customize colors and size. Copy the clean code.
Set your birth date and see a live countdown with days, hours, minutes, and seconds. Shareable link. Pure frontend.
Flip a coin with adjustable bias (e.g., 70% heads). Used for random decision-making when you want to gently influence outcomes. History & stats shown.
Instantly convert plain text into HTML‑safe escaped characters for secure display in web pages. Prevent cross‑site scripting. All processing local.
Paste a WebVTT file and instantly check for syntax errors. Validate timestamps and cue formatting. Essential for video devs.
Validate a language tag like en‑US or zh‑Hans against the IANA registry. Ensure correct HTML lang attribute.
Shift the color temperature of your photo towards warm (orange) or cool (blue). Instant canvas filter. Download result.
View the moon phase for any date in past or future. See full moon dates and eclipses for a given year.
Build a simple decision tree by adding yes/no nodes. Flowchart style. Export as text outline.