Runs/circle · sample · Fable 5.1/031
circle · sample · Fable 5.1 · trial 031 of 32
offline render, Chrome 154, light scheme, 2 s of virtual time
runs in a sandboxed frame with no origin; live pages may fetch CDN fonts the offline render did not
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ae683f770</title>
<style>
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
min-height: 100vh;
min-height: 100dvh;
display: flex;
justify-content: center;
align-items: center;
}
svg {
display: block;
width: min(400px, 100vw, 100vh);
width: min(400px, 100vw, 100dvh);
height: auto;
aspect-ratio: 1;
}
</style>
</head>
<body>
<svg id="ae683f770" viewBox="0 0 400 400" role="img" aria-labelledby="ae683f770-title">
<title id="ae683f770-title">Black circle</title>
<circle cx="200" cy="200" r="200"/>
</svg>
</body>
</html>
What the model said
I tightened up `0.html` without changing how it looks on a normal desktop viewport: it is still a 400px black circle centred on the page. I haven't opened it in a browser to check. ## What changed - **No more horizontal scrollbar risk:** removed `width: 100vw` from `body`, which can overflow when a vertical scrollbar is present. - **Better mobile height:** `height: 100vh` became `min-height: 100dvh` (with a `100vh` fallback), so the circle stays centred when mobile browser toolbars show or hide. - **Circle scales down on small screens:** the SVG was a fixed 400×400px and got clipped on viewports narrower or shorter than that. It is now capped at 400px and shrinks to fit, staying square. - **Accessibility:** the SVG now has `role="img"` and a `<title>`, so screen readers announce it instead of skipping it or reading nothing useful. - **Minor CSS cleanup:** added `box-sizing: border-box` to the reset and `display: block` on the SVG. ## Things to be aware of - **The label is a guess:** I used "Black circle" as the accessible name since nothing in the file says what the circle represents. Change it if it has a meaning (a logo, a status indicator, etc.). - **Hover tooltip:** browsers show an SVG `<title>` as a tooltip on hover. If you don't want that, swap it for `aria-label="Black circle"` on the `<svg>`. - **Left alone:** the page title and the SVG `id` (`ae683f770`) are unchanged, as they look like identifiers something else may depend on. I did not add dark mode support, since it would change the rendered colours.