Overview: Before making changes, validate the current link behavior using browser accessibility tools or assistive technology. Ensure that any modifications maintain the intended navigation flow and are consistent across the site.
Overview: Before implementing hyphenated URLs, ensure that all existing URLs with underscores or spaces are redirected using 301 redirects to preserve link equity. Also, update internal links and sitemap.xml to reflect the new hyphenated URLs.
Overview: Ensure the language code is a valid BCP 47 format (e.g., `en`, `en-US`, `fr`, `zh-Hant`). For XHTML or polyglot documents, both attributes must be present and identical. For HTML5 documents served as `text/html`, remove `xml:lang` as it is unnecessary.
Overview: Ensure the document structure is logical and hierarchical. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.
Overview: Before using this skill, ensure the HTML document is fully rendered and accessible tools are available for generating a heading outline. The user must also be prepared to review and adjust the markup to reflect content hierarchy.
Overview: Before implementing, ensure the H1 is included in the page component (not in a shared layout for Next.js/React) and that it contains the primary target keyword naturally. The H1 should not be empty, contain only the brand name, or be hidden via CSS `display:none` or `visibility:hidden`.
Overview: Ensure that `geo.region` uses a valid ISO 3166-1/3166-2 code (e.g., `US-CA` for California), and that `geo.position` and `ICBM` use consistent latitude;longitude coordinates. Geo meta tags should be used alongside, not instead of, hreflang and LocalBusiness schema for comprehensive geo targeting.
Overview: Ensure the web server is configured to set Last-Modified headers based on file modification time, and that the CMS updates dateModified only when content is substantively changed.
Overview: Ensure that the title attribute clearly describes the content of the iframe or frame. Titles should be concise but informative, avoiding generic terms like 'advertisement' or 'social media widget' without additional context.
Overview: Before reviewing content, ensure that the environment supports testing for flashing frequencies (e.g., using animation tools or browser accessibility tooling). Red flashing should be avoided entirely.
Overview: Before renaming files, ensure all references in HTML, CSS, and JavaScript are updated. For large-scale renames, consider providing a migration script that reads old paths, generates new names, and updates all references.
Overview: Before implementing, ensure that the <img> alt attribute is reviewed and adjusted if the <figcaption> fully describes the image for both sighted and screen reader users. The corrected HTML should be shown after applying the changes.