Theme Unit Test Lab
A focused environment for testing how the Blaskan WordPress theme handles edge cases, stress content, and markup integrity across common and uncommon post structures.

Why Theme Unit Testing Matters
Most WordPress themes look fine with carefully curated content. The trouble starts when real users do real things: paste long titles, nest lists four levels deep, drop a table with twelve columns into a narrow sidebar, or publish a post with no featured image and no excerpt. A theme that handles these situations gracefully earns its place as a reliable daily tool.
The WordPress theme unit test data set, originally maintained by the Theme Review Team, provides a structured collection of posts and pages that push these boundaries deliberately. Running a theme against this data exposes the weak points early.
Blaskan was tested against these patterns throughout its development. This lab documents the specific edge cases and how the theme responds to each.
Content Edge Cases
Post titles exceeding 100 characters wrap cleanly in both archive views and single post templates. The heading never overflows its container or clips into adjacent elements.
Ordered and unordered lists nested up to four levels deep maintain consistent indentation and marker styles. Mixed nesting (ordered inside unordered) preserves clarity.
Tables with many columns scroll horizontally inside their content wrapper. Table headers remain legible and cell padding stays comfortable. No horizontal page overflow occurs.
Images with alignleft, alignright, aligncenter, and alignnone classes position correctly relative to surrounding text. Text wraps around floated images without collision.
Standard blockquotes display with left border accent and italic styling. Nested blockquotes increase indentation. Pull quotes, when present, occupy a wider column space.
Inline code uses a distinct monospace face with background tint. Fenced code blocks use dark background with horizontal scroll for long lines. Syntax highlighting applies where the block language is declared.
Image captions appear below their associated image in a smaller italic style. Gallery captions remain aligned with their respective thumbnails even when images vary in aspect ratio.
Posts without featured images render cleanly. The archive view does not show a broken image placeholder or leave an awkward gap where an image was expected.
When no manual excerpt is set, the theme falls back to an auto-generated excerpt from the content. The excerpt length stays predictable and does not include stray markup.
Threaded comments indent correctly up to the configured depth. Deep threads do not overflow or clip. Commenter names, timestamps, and reply links remain accessible at all nesting levels.
Layout Stress Tests
A sidebar loaded with eight or more widgets remains scrollable and does not push the footer below the fold on short content pages. Widget spacing stays uniform.
When no widgets are assigned to the sidebar area, the content column expands to fill the available width. No empty sidebar container is rendered.
Posts with only one or two sentences still produce a full page layout where the footer sits at the bottom of the viewport, not floating mid-screen.
Posts exceeding 5000 words remain readable. Typography scales stay consistent. Memory usage does not spike noticeably in the browser.
Accessibility Checks
All interactive elements (links, buttons, form fields, menu toggles) are reachable via keyboard tab order. Focus indicators are visible and meet contrast requirements.
A skip link appears on focus before the header and jumps focus to the main content area. It is visually hidden until focused.
Every page has exactly one H1. Subheadings follow logical order without skipping levels. Screen readers can navigate the document outline reliably.
Body text, headings, links, and UI controls meet WCAG AA contrast ratios against their backgrounds. Placeholder text in search inputs also meets minimum contrast.
Markup Integrity
Blaskan outputs valid HTML5. Self-closing tags, ARIA attributes, and semantic elements are used consistently. The theme does not inject duplicate IDs, mismatched heading levels, or orphaned ARIA references. Every interactive region has an accessible name.
For a structured checklist of all test categories, see the theme unit test checklist in the documentation section.