Interactive components
Open this lesson in the live editorDiscover and understand
What evidence would show that interactive components works across the relevant application boundary?
Tabs connect a tab list to mutually exclusive panels. Selecting a tab updates aria-selected, the roving tabindex and panel visibility together. Arrow keys move within the tab list; the selected tab becomes the keyboard entry point. The accessible name of each panel comes from its tab. This two-tab example supports click and ArrowRight/ArrowLeft; full testing also includes focus visibility and screen-reader announcements.
- Explain interactive components using the actual supplied source.
- Predict and verify normal, changed and boundary outcomes.
- Distinguish local execution, simulation and real exported Node behavior.
Walkthrough
[
{
"file": "index.html",
"line": 1,
"source": "<div role=\"tablist\" aria-label=\"Learning views\"><button id=\"tab-one\" role=\"tab\" aria-selected=\"true\" aria-controls=\"one\" tabindex=\"0\">Learn</button><button id=\"tab-two\" role=\"tab\" aria-selected=\"false\" aria-controls=\"two\" tabindex=\"-1\">Practice</button></div><section id=\"one\" role=\"tabpanel\" aria-labelledby=\"tab-one\">Read the explanation.</section><section id=\"two\" role=\"tabpanel\" aria-labelledby=\"tab-two\" hidden>Try the experiment.</section>",
"explanation": "A generic flow container when no more specific semantics apply."
},
{
"file": "styles.css",
"line": 1,
"source": "body { font: 18px/1.55 system-ui; margin: 1.5rem; color: #17324d; background: #f5f8fc; } button,input,select,textarea { font: inherit; } button { padding: .5rem .8rem; cursor: pointer; } :focus-visible { outline: 3px solid #155ec4; outline-offset: 3px; } [hidden] { display: none !important; } output { display: block; margin-block: .7rem; } .card { padding: 1rem; border: 1px solid #8a9db2; border-radius: .7rem; }",
"explanation": "This CSS rule is a declared presentation policy. Inspect actual computed styles and real browser geometry separately."
},
{
"file": "script.js",
"line": 1,
"source": "const tabs = [...document.querySelectorAll(\"[role=tab]\")];",
"explanation": "Resolve the first matching live DOM element. A missing match is null and requires handling."
},
{
"file": "script.js",
"line": 2,
"source": "function select(index) { tabs.forEach((tab, i) => { const active = i === index; tab.setAttribute(\"aria-selected\", String(active)); tab.tabIndex = active ? 0 : -1; document.getElementById(tab.getAttribute(\"aria-controls\")).hidden = !active; }); tabs[index].focus(); }",
"explanation": "Update the named DOM attribute; check that its value agrees with actual visible behavior."
},
{
"file": "script.js",
"line": 3,
"source": "tabs.forEach((tab, i) => { tab.addEventListener(\"click\", () => select(i)); tab.addEventListener(\"keydown\", event => { if ([\"ArrowRight\", \"ArrowLeft\"].includes(event.key)) { event.preventDefault(); select((i + (event.key === \"ArrowRight\" ? 1 : tabs.length - 1)) % tabs.length); } }); });",
"explanation": "Register a real event callback. The function runs after the named event; registration alone does not perform the action."
}
]Five runnable source examples
Working tabs
Selecting Practice reveals panel two and gives tab-two the selected entry point.
{
"index.html": "<div role=\"tablist\" aria-label=\"Learning views\"><button id=\"tab-one\" role=\"tab\" aria-selected=\"true\" aria-controls=\"one\" tabindex=\"0\">Learn</button><button id=\"tab-two\" role=\"tab\" aria-selected=\"false\" aria-controls=\"two\" tabindex=\"-1\">Practice</button></div><section id=\"one\" role=\"tabpanel\" aria-labelledby=\"tab-one\">Read the explanation.</section><section id=\"two\" role=\"tabpanel\" aria-labelledby=\"tab-two\" hidden>Try the experiment.</section>",
"styles.css": "body { font: 18px/1.55 system-ui; margin: 1.5rem; color: #17324d; background: #f5f8fc; } button,input,select,textarea { font: inherit; } button { padding: .5rem .8rem; cursor: pointer; } :focus-visible { outline: 3px solid #155ec4; outline-offset: 3px; } [hidden] { display: none !important; } output { display: block; margin-block: .7rem; } .card { padding: 1rem; border: 1px solid #8a9db2; border-radius: .7rem; }",
"script.js": "const tabs = [...document.querySelectorAll(\"[role=tab]\")];\nfunction select(index) { tabs.forEach((tab, i) => { const active = i === index; tab.setAttribute(\"aria-selected\", String(active)); tab.tabIndex = active ? 0 : -1; document.getElementById(tab.getAttribute(\"aria-controls\")).hidden = !active; }); tabs[index].focus(); }\ntabs.forEach((tab, i) => { tab.addEventListener(\"click\", () => select(i)); tab.addEventListener(\"keydown\", event => { if ([\"ArrowRight\", \"ArrowLeft\"].includes(event.key)) { event.preventDefault(); select((i + (event.key === \"ArrowRight\" ? 1 : tabs.length - 1)) % tabs.length); } }); });",
"assets/landscape.svg": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNDAwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCI+PHRpdGxlPkxheWVyZWQgbGFuZHNjYXBlPC90aXRsZT48cmVjdCB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCIgZmlsbD0iI2UyZWRmOCIvPjxjaXJjbGUgY3g9IjQ5MCIgY3k9Ijk1IiByPSI0NSIgZmlsbD0iI2ZmZjRjNCIvPjxwYXRoIGQ9Ik0wIDI4NSAxNzAgMTIwIDM1MCAyOTUgNTAwIDE4NSA2NDAgMjg1VjQwMEgwWiIgZmlsbD0iIzgxYTljZSIvPjxwYXRoIGQ9Ik0wIDMzNSAyMjAgMjMwIDQyMCAzNTAgNjQwIDI0MFY0MDBIMFoiIGZpbGw9IiMyOTUyN2IiLz48L3N2Zz4=",
"assets/shapes.svg": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNDAwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCI+PHRpdGxlPkdlb21ldHJpYyBzdHVkeTwvdGl0bGU+PHJlY3Qgd2lkdGg9IjY0MCIgaGVpZ2h0PSI0MDAiIGZpbGw9IiNmMmVlZTUiLz48Y2lyY2xlIGN4PSIyMjAiIGN5PSIxOTAiIHI9IjEwMCIgZmlsbD0iI2Q3OTQ1NCIvPjxyZWN0IHg9IjMyMCIgeT0iMTEwIiB3aWR0aD0iMTgwIiBoZWlnaHQ9IjE4MCIgcng9IjMwIiBmaWxsPSIjMzE1ZDdmIi8+PHBhdGggZD0ibTEwMCAzMzAgMTIwLTE2MCAxMjAgMTYwWiIgZmlsbD0iI2UxYzc3OSIvPjwvc3ZnPg=="
}Input
{}Expected value or DOM contract
Selecting Practice reveals panel two and gives tab-two the selected entry point.
Long-content and literal-text boundary
Keep the same core operation with an additional realistic long-text record. Inspect wrapping, preserved controls and safe literal characters. This is a content-stress case; actual layout and meaning require visual review.
{
"index.html": "<div role=\"tablist\" aria-label=\"Learning views\"><button id=\"tab-one\" role=\"tab\" aria-selected=\"true\" aria-controls=\"one\" tabindex=\"0\">Learn</button><button id=\"tab-two\" role=\"tab\" aria-selected=\"false\" aria-controls=\"two\" tabindex=\"-1\">Practice</button></div><section id=\"one\" role=\"tabpanel\" aria-labelledby=\"tab-one\">Read the explanation.</section><section id=\"two\" role=\"tabpanel\" aria-labelledby=\"tab-two\" hidden>Try the experiment.</section>\n<section aria-label=\"Additional content case\"><p id=\"content-boundary\">Lesson 53: A long account or course title must remain readable with spaces and literal <angle brackets>. A long account or course title must remain readable with spaces and literal <angle brackets>. </p></section>",
"styles.css": "body { font: 18px/1.55 system-ui; margin: 1.5rem; color: #17324d; background: #f5f8fc; } button,input,select,textarea { font: inherit; } button { padding: .5rem .8rem; cursor: pointer; } :focus-visible { outline: 3px solid #155ec4; outline-offset: 3px; } [hidden] { display: none !important; } output { display: block; margin-block: .7rem; } .card { padding: 1rem; border: 1px solid #8a9db2; border-radius: .7rem; }\n#content-boundary { overflow-wrap:anywhere; max-width:60ch; }",
"script.js": "const tabs = [...document.querySelectorAll(\"[role=tab]\")];\nfunction select(index) { tabs.forEach((tab, i) => { const active = i === index; tab.setAttribute(\"aria-selected\", String(active)); tab.tabIndex = active ? 0 : -1; document.getElementById(tab.getAttribute(\"aria-controls\")).hidden = !active; }); tabs[index].focus(); }\ntabs.forEach((tab, i) => { tab.addEventListener(\"click\", () => select(i)); tab.addEventListener(\"keydown\", event => { if ([\"ArrowRight\", \"ArrowLeft\"].includes(event.key)) { event.preventDefault(); select((i + (event.key === \"ArrowRight\" ? 1 : tabs.length - 1)) % tabs.length); } }); });",
"assets/landscape.svg": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNDAwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCI+PHRpdGxlPkxheWVyZWQgbGFuZHNjYXBlPC90aXRsZT48cmVjdCB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCIgZmlsbD0iI2UyZWRmOCIvPjxjaXJjbGUgY3g9IjQ5MCIgY3k9Ijk1IiByPSI0NSIgZmlsbD0iI2ZmZjRjNCIvPjxwYXRoIGQ9Ik0wIDI4NSAxNzAgMTIwIDM1MCAyOTUgNTAwIDE4NSA2NDAgMjg1VjQwMEgwWiIgZmlsbD0iIzgxYTljZSIvPjxwYXRoIGQ9Ik0wIDMzNSAyMjAgMjMwIDQyMCAzNTAgNjQwIDI0MFY0MDBIMFoiIGZpbGw9IiMyOTUyN2IiLz48L3N2Zz4=",
"assets/shapes.svg": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNDAwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCI+PHRpdGxlPkdlb21ldHJpYyBzdHVkeTwvdGl0bGU+PHJlY3Qgd2lkdGg9IjY0MCIgaGVpZ2h0PSI0MDAiIGZpbGw9IiNmMmVlZTUiLz48Y2lyY2xlIGN4PSIyMjAiIGN5PSIxOTAiIHI9IjEwMCIgZmlsbD0iI2Q3OTQ1NCIvPjxyZWN0IHg9IjMyMCIgeT0iMTEwIiB3aWR0aD0iMTgwIiBoZWlnaHQ9IjE4MCIgcng9IjMwIiBmaWxsPSIjMzE1ZDdmIi8+PHBhdGggZD0ibTEwMCAzMzAgMTIwLTE2MCAxMjAgMTYwWiIgZmlsbD0iI2UxYzc3OSIvPjwvc3ZnPg=="
}Input
{}Expected value or DOM contract
Selecting Practice reveals panel two and gives tab-two the selected entry point.
Observe actual DOM mutations
Install a real MutationObserver before the same operation. Its live counter records actual child-list, attribute and character-data changes; it is not a browser-internal paint profiler.
{
"index.html": "<div role=\"tablist\" aria-label=\"Learning views\"><button id=\"tab-one\" role=\"tab\" aria-selected=\"true\" aria-controls=\"one\" tabindex=\"0\">Learn</button><button id=\"tab-two\" role=\"tab\" aria-selected=\"false\" aria-controls=\"two\" tabindex=\"-1\">Practice</button></div><section id=\"one\" role=\"tabpanel\" aria-labelledby=\"tab-one\">Read the explanation.</section><section id=\"two\" role=\"tabpanel\" aria-labelledby=\"tab-two\" hidden>Try the experiment.</section>\n<p>Actual observed mutation records: <output id=\"mutation-count\">0</output></p>",
"styles.css": "body { font: 18px/1.55 system-ui; margin: 1.5rem; color: #17324d; background: #f5f8fc; } button,input,select,textarea { font: inherit; } button { padding: .5rem .8rem; cursor: pointer; } :focus-visible { outline: 3px solid #155ec4; outline-offset: 3px; } [hidden] { display: none !important; } output { display: block; margin-block: .7rem; } .card { padding: 1rem; border: 1px solid #8a9db2; border-radius: .7rem; }",
"script.js": "const mutationOutput = document.querySelector(\"#mutation-count\");\nlet mutationCount = 0;\nconst mutationObserver = new MutationObserver(records => { const relevant = records.filter(record => record.target !== mutationOutput && !mutationOutput.contains(record.target)); if (!relevant.length) return; mutationCount += relevant.length; mutationOutput.textContent = String(mutationCount); });\nmutationObserver.observe(document.body, {subtree:true, childList:true, attributes:true, characterData:true});\nconst tabs = [...document.querySelectorAll(\"[role=tab]\")];\nfunction select(index) { tabs.forEach((tab, i) => { const active = i === index; tab.setAttribute(\"aria-selected\", String(active)); tab.tabIndex = active ? 0 : -1; document.getElementById(tab.getAttribute(\"aria-controls\")).hidden = !active; }); tabs[index].focus(); }\ntabs.forEach((tab, i) => { tab.addEventListener(\"click\", () => select(i)); tab.addEventListener(\"keydown\", event => { if ([\"ArrowRight\", \"ArrowLeft\"].includes(event.key)) { event.preventDefault(); select((i + (event.key === \"ArrowRight\" ? 1 : tabs.length - 1)) % tabs.length); } }); });",
"assets/landscape.svg": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNDAwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCI+PHRpdGxlPkxheWVyZWQgbGFuZHNjYXBlPC90aXRsZT48cmVjdCB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCIgZmlsbD0iI2UyZWRmOCIvPjxjaXJjbGUgY3g9IjQ5MCIgY3k9Ijk1IiByPSI0NSIgZmlsbD0iI2ZmZjRjNCIvPjxwYXRoIGQ9Ik0wIDI4NSAxNzAgMTIwIDM1MCAyOTUgNTAwIDE4NSA2NDAgMjg1VjQwMEgwWiIgZmlsbD0iIzgxYTljZSIvPjxwYXRoIGQ9Ik0wIDMzNSAyMjAgMjMwIDQyMCAzNTAgNjQwIDI0MFY0MDBIMFoiIGZpbGw9IiMyOTUyN2IiLz48L3N2Zz4=",
"assets/shapes.svg": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNDAwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCI+PHRpdGxlPkdlb21ldHJpYyBzdHVkeTwvdGl0bGU+PHJlY3Qgd2lkdGg9IjY0MCIgaGVpZ2h0PSI0MDAiIGZpbGw9IiNmMmVlZTUiLz48Y2lyY2xlIGN4PSIyMjAiIGN5PSIxOTAiIHI9IjEwMCIgZmlsbD0iI2Q3OTQ1NCIvPjxyZWN0IHg9IjMyMCIgeT0iMTEwIiB3aWR0aD0iMTgwIiBoZWlnaHQ9IjE4MCIgcng9IjMwIiBmaWxsPSIjMzE1ZDdmIi8+PHBhdGggZD0ibTEwMCAzMzAgMTIwLTE2MCAxMjAgMTYwWiIgZmlsbD0iI2UxYzc3OSIvPjwvc3ZnPg=="
}Input
{}Expected value or DOM contract
Selecting Practice reveals panel two and gives tab-two the selected entry point.
Predict and inspect the intentional fault
This source deliberately replaces i === index with i !== index. Reproduce the mismatch, identify its cause and compare the corrected source.
{
"index.html": "<div role=\"tablist\" aria-label=\"Learning views\"><button id=\"tab-one\" role=\"tab\" aria-selected=\"true\" aria-controls=\"one\" tabindex=\"0\">Learn</button><button id=\"tab-two\" role=\"tab\" aria-selected=\"false\" aria-controls=\"two\" tabindex=\"-1\">Practice</button></div><section id=\"one\" role=\"tabpanel\" aria-labelledby=\"tab-one\">Read the explanation.</section><section id=\"two\" role=\"tabpanel\" aria-labelledby=\"tab-two\" hidden>Try the experiment.</section>",
"styles.css": "body { font: 18px/1.55 system-ui; margin: 1.5rem; color: #17324d; background: #f5f8fc; } button,input,select,textarea { font: inherit; } button { padding: .5rem .8rem; cursor: pointer; } :focus-visible { outline: 3px solid #155ec4; outline-offset: 3px; } [hidden] { display: none !important; } output { display: block; margin-block: .7rem; } .card { padding: 1rem; border: 1px solid #8a9db2; border-radius: .7rem; }",
"script.js": "const tabs = [...document.querySelectorAll(\"[role=tab]\")];\nfunction select(index) { tabs.forEach((tab, i) => { const active = i !== index; tab.setAttribute(\"aria-selected\", String(active)); tab.tabIndex = active ? 0 : -1; document.getElementById(tab.getAttribute(\"aria-controls\")).hidden = !active; }); tabs[index].focus(); }\ntabs.forEach((tab, i) => { tab.addEventListener(\"click\", () => select(i)); tab.addEventListener(\"keydown\", event => { if ([\"ArrowRight\", \"ArrowLeft\"].includes(event.key)) { event.preventDefault(); select((i + (event.key === \"ArrowRight\" ? 1 : tabs.length - 1)) % tabs.length); } }); });",
"assets/landscape.svg": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNDAwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCI+PHRpdGxlPkxheWVyZWQgbGFuZHNjYXBlPC90aXRsZT48cmVjdCB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCIgZmlsbD0iI2UyZWRmOCIvPjxjaXJjbGUgY3g9IjQ5MCIgY3k9Ijk1IiByPSI0NSIgZmlsbD0iI2ZmZjRjNCIvPjxwYXRoIGQ9Ik0wIDI4NSAxNzAgMTIwIDM1MCAyOTUgNTAwIDE4NSA2NDAgMjg1VjQwMEgwWiIgZmlsbD0iIzgxYTljZSIvPjxwYXRoIGQ9Ik0wIDMzNSAyMjAgMjMwIDQyMCAzNTAgNjQwIDI0MFY0MDBIMFoiIGZpbGw9IiMyOTUyN2IiLz48L3N2Zz4=",
"assets/shapes.svg": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNDAwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCI+PHRpdGxlPkdlb21ldHJpYyBzdHVkeTwvdGl0bGU+PHJlY3Qgd2lkdGg9IjY0MCIgaGVpZ2h0PSI0MDAiIGZpbGw9IiNmMmVlZTUiLz48Y2lyY2xlIGN4PSIyMjAiIGN5PSIxOTAiIHI9IjEwMCIgZmlsbD0iI2Q3OTQ1NCIvPjxyZWN0IHg9IjMyMCIgeT0iMTEwIiB3aWR0aD0iMTgwIiBoZWlnaHQ9IjE4MCIgcng9IjMwIiBmaWxsPSIjMzE1ZDdmIi8+PHBhdGggZD0ibTEwMCAzMzAgMTIwLTE2MCAxMjAgMTYwWiIgZmlsbD0iI2UxYzc3OSIvPjwvc3ZnPg=="
}Input
{}Expected value or DOM contract
Selecting Practice reveals panel two and gives tab-two the selected entry point.
Executable regression and independent expectations
Use the actual authored initial checks and fresh interaction assertions printed below. The in-page verifier performs real DOM operations and rejects mismatches; it does not infer correctness from source keywords.
{
"index.html": "<div role=\"tablist\" aria-label=\"Learning views\"><button id=\"tab-one\" role=\"tab\" aria-selected=\"true\" aria-controls=\"one\" tabindex=\"0\">Learn</button><button id=\"tab-two\" role=\"tab\" aria-selected=\"false\" aria-controls=\"two\" tabindex=\"-1\">Practice</button></div><section id=\"one\" role=\"tabpanel\" aria-labelledby=\"tab-one\">Read the explanation.</section><section id=\"two\" role=\"tabpanel\" aria-labelledby=\"tab-two\" hidden>Try the experiment.</section>\n<button id=\"run-regression\" type=\"button\">Run declared regression</button><pre id=\"regression-result\">Not tested</pre>",
"styles.css": "body { font: 18px/1.55 system-ui; margin: 1.5rem; color: #17324d; background: #f5f8fc; } button,input,select,textarea { font: inherit; } button { padding: .5rem .8rem; cursor: pointer; } :focus-visible { outline: 3px solid #155ec4; outline-offset: 3px; } [hidden] { display: none !important; } output { display: block; margin-block: .7rem; } .card { padding: 1rem; border: 1px solid #8a9db2; border-radius: .7rem; }",
"script.js": "const tabs = [...document.querySelectorAll(\"[role=tab]\")];\nfunction select(index) { tabs.forEach((tab, i) => { const active = i === index; tab.setAttribute(\"aria-selected\", String(active)); tab.tabIndex = active ? 0 : -1; document.getElementById(tab.getAttribute(\"aria-controls\")).hidden = !active; }); tabs[index].focus(); }\ntabs.forEach((tab, i) => { tab.addEventListener(\"click\", () => select(i)); tab.addEventListener(\"keydown\", event => { if ([\"ArrowRight\", \"ArrowLeft\"].includes(event.key)) { event.preventDefault(); select((i + (event.key === \"ArrowRight\" ? 1 : tabs.length - 1)) % tabs.length); } }); });\ndocument.querySelector(\"#run-regression\").addEventListener(\"click\", async () => {\n const spec = {\"rules\": [{\"type\": \"attr\", \"selector\": \"#tab-one\", \"label\": \"attr: #tab-one\", \"value\": \"true\", \"property\": \"aria-selected\"}], \"case\": {\"title\": \"Declared interaction contract\", \"actions\": [{\"type\": \"click\", \"selector\": \"#tab-two\"}], \"assertions\": [{\"type\": \"attribute\", \"selector\": \"#tab-two\", \"property\": \"aria-selected\", \"value\": \"true\"}, {\"type\": \"property\", \"selector\": \"#two\", \"property\": \"hidden\", \"value\": false}, {\"type\": \"property\", \"selector\": \"#one\", \"property\": \"hidden\", \"value\": true}]}};\n const failures = [];\n const choose = selector => document.querySelector(selector);\n for (const check of spec.rules) {\n const element = choose(check.selector);\n if (check.type === \"exists\" && !element) failures.push(check.label);\n if (check.type === \"count\" && document.querySelectorAll(check.selector).length < check.value) failures.push(check.label);\n if (check.type === \"text\" && !element?.textContent.includes(check.value)) failures.push(check.label);\n if (check.type === \"attr\" && element?.getAttribute(check.property) !== check.value) failures.push(check.label);\n if (check.type === \"label\" && !element?.labels?.length) failures.push(check.label);\n }\n if (spec.case) {\n for (const action of spec.case.actions) {\n const element = choose(action.selector);\n if (!element) { failures.push(\"Missing action target \" + action.selector); continue; }\n if (action.type === \"click\") element.click();\n if (action.type === \"input\" || action.type === \"change\") { element.value = action.value; element.dispatchEvent(new Event(action.type, {bubbles:true})); }\n if (action.type === \"key\") element.dispatchEvent(new KeyboardEvent(\"keydown\", {key:action.key,bubbles:true,cancelable:true}));\n if (action.type === \"submit\") element.dispatchEvent(new Event(\"submit\", {bubbles:true,cancelable:true}));\n }\n await new Promise(resolve => setTimeout(resolve, 60));\n for (const check of spec.case.assertions) {\n const element = choose(check.selector);\n const actual = check.type === \"count\" ? document.querySelectorAll(check.selector).length : check.type === \"attribute\" ? element?.getAttribute(check.property) : check.type === \"property\" ? check.property === \"focused\" ? document.activeElement === element : element?.[check.property] : element?.textContent;\n const pass = check.exact === false ? String(actual).includes(check.value) : actual === check.value;\n if (!pass) failures.push(check.selector + \": expected \" + JSON.stringify(check.value) + \", actual \" + JSON.stringify(actual));\n }\n }\n document.querySelector(\"#regression-result\").textContent = failures.length ? \"FAIL: \" + failures.join(\"; \") : \"PASS: declared DOM contract; review CSS/layout separately\";\n});",
"assets/landscape.svg": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNDAwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCI+PHRpdGxlPkxheWVyZWQgbGFuZHNjYXBlPC90aXRsZT48cmVjdCB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCIgZmlsbD0iI2UyZWRmOCIvPjxjaXJjbGUgY3g9IjQ5MCIgY3k9Ijk1IiByPSI0NSIgZmlsbD0iI2ZmZjRjNCIvPjxwYXRoIGQ9Ik0wIDI4NSAxNzAgMTIwIDM1MCAyOTUgNTAwIDE4NSA2NDAgMjg1VjQwMEgwWiIgZmlsbD0iIzgxYTljZSIvPjxwYXRoIGQ9Ik0wIDMzNSAyMjAgMjMwIDQyMCAzNTAgNjQwIDI0MFY0MDBIMFoiIGZpbGw9IiMyOTUyN2IiLz48L3N2Zz4=",
"assets/shapes.svg": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNDAwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCI+PHRpdGxlPkdlb21ldHJpYyBzdHVkeTwvdGl0bGU+PHJlY3Qgd2lkdGg9IjY0MCIgaGVpZ2h0PSI0MDAiIGZpbGw9IiNmMmVlZTUiLz48Y2lyY2xlIGN4PSIyMjAiIGN5PSIxOTAiIHI9IjEwMCIgZmlsbD0iI2Q3OTQ1NCIvPjxyZWN0IHg9IjMyMCIgeT0iMTEwIiB3aWR0aD0iMTgwIiBoZWlnaHQ9IjE4MCIgcng9IjMwIiBmaWxsPSIjMzE1ZDdmIi8+PHBhdGggZD0ibTEwMCAzMzAgMTIwLTE2MCAxMjAgMTYwWiIgZmlsbD0iI2UxYzc3OSIvPjwvc3ZnPg=="
}Input
{}Expected value or DOM contract
Selecting Practice reveals panel two and gives tab-two the selected entry point.
Guided build and three hints
[ "Read the source and the active example\u2019s expected result.", "Write a prediction before running.", "Run the actual code or controlled DOM preview.", "Change one input, inspect the result and run the independent check.", "Repair the starter with the hints, then explain a second case." ]
[ "Locate the first operation whose input or output differs from the expected contract.", "Compare the working reference with the changed operation; inspect types, boundaries and the returned result.", "Restore the intended operation, rerun the exact case, then add a different boundary input." ]
Verified answer / authored DOM contract
{
"index.html": "<div role=\"tablist\" aria-label=\"Learning views\"><button id=\"tab-one\" role=\"tab\" aria-selected=\"true\" aria-controls=\"one\" tabindex=\"0\">Learn</button><button id=\"tab-two\" role=\"tab\" aria-selected=\"false\" aria-controls=\"two\" tabindex=\"-1\">Practice</button></div><section id=\"one\" role=\"tabpanel\" aria-labelledby=\"tab-one\">Read the explanation.</section><section id=\"two\" role=\"tabpanel\" aria-labelledby=\"tab-two\" hidden>Try the experiment.</section>",
"styles.css": "body { font: 18px/1.55 system-ui; margin: 1.5rem; color: #17324d; background: #f5f8fc; } button,input,select,textarea { font: inherit; } button { padding: .5rem .8rem; cursor: pointer; } :focus-visible { outline: 3px solid #155ec4; outline-offset: 3px; } [hidden] { display: none !important; } output { display: block; margin-block: .7rem; } .card { padding: 1rem; border: 1px solid #8a9db2; border-radius: .7rem; }",
"script.js": "const tabs = [...document.querySelectorAll(\"[role=tab]\")];\nfunction select(index) { tabs.forEach((tab, i) => { const active = i === index; tab.setAttribute(\"aria-selected\", String(active)); tab.tabIndex = active ? 0 : -1; document.getElementById(tab.getAttribute(\"aria-controls\")).hidden = !active; }); tabs[index].focus(); }\ntabs.forEach((tab, i) => { tab.addEventListener(\"click\", () => select(i)); tab.addEventListener(\"keydown\", event => { if ([\"ArrowRight\", \"ArrowLeft\"].includes(event.key)) { event.preventDefault(); select((i + (event.key === \"ArrowRight\" ? 1 : tabs.length - 1)) % tabs.length); } }); });",
"assets/landscape.svg": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNDAwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCI+PHRpdGxlPkxheWVyZWQgbGFuZHNjYXBlPC90aXRsZT48cmVjdCB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCIgZmlsbD0iI2UyZWRmOCIvPjxjaXJjbGUgY3g9IjQ5MCIgY3k9Ijk1IiByPSI0NSIgZmlsbD0iI2ZmZjRjNCIvPjxwYXRoIGQ9Ik0wIDI4NSAxNzAgMTIwIDM1MCAyOTUgNTAwIDE4NSA2NDAgMjg1VjQwMEgwWiIgZmlsbD0iIzgxYTljZSIvPjxwYXRoIGQ9Ik0wIDMzNSAyMjAgMjMwIDQyMCAzNTAgNjQwIDI0MFY0MDBIMFoiIGZpbGw9IiMyOTUyN2IiLz48L3N2Zz4=",
"assets/shapes.svg": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNDAwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCI+PHRpdGxlPkdlb21ldHJpYyBzdHVkeTwvdGl0bGU+PHJlY3Qgd2lkdGg9IjY0MCIgaGVpZ2h0PSI0MDAiIGZpbGw9IiNmMmVlZTUiLz48Y2lyY2xlIGN4PSIyMjAiIGN5PSIxOTAiIHI9IjEwMCIgZmlsbD0iI2Q3OTQ1NCIvPjxyZWN0IHg9IjMyMCIgeT0iMTEwIiB3aWR0aD0iMTgwIiBoZWlnaHQ9IjE4MCIgcng9IjMwIiBmaWxsPSIjMzE1ZDdmIi8+PHBhdGggZD0ibTEwMCAzMzAgMTIwLTE2MCAxMjAgMTYwWiIgZmlsbD0iI2UxYzc3OSIvPjwvc3ZnPg=="
}Troubleshooting, reflection and extension
Inspect active source, actual DOM, labels, the first error and declared browser capability limits before changing unrelated code.
Which actual value, node or trace entry supports your explanation? What did this check not establish?
Add an independent realistic input and a failing case that causes no premature side effect. Explain the remaining deployment and accessibility review.
Limits
DOM structure and event results are testable offline. Geometry, native interaction and visual accessibility require a real browser review.
Prompt studio goals
[
{
"goal": "Explain this concept and source using the stated evidence boundary.",
"prompt": "Explain this concept and source using the stated evidence boundary.\nLesson: Interactive components\nObjective: Tabs connect a tab list to mutually exclusive panels. Selecting a tab updates aria-selected, the roving tabindex and panel visibility together. Arrow keys move within the tab list; the selected tab becomes the keyboard entry point. The accessible name of each panel comes from its tab. This two-tab example supports click and ArrowRight/ArrowLeft; full testing also includes focus visibility and screen-reader announcements.\nReference source:\n{\n \"index.html\": \"<div role=\\\"tablist\\\" aria-label=\\\"Learning views\\\"><button id=\\\"tab-one\\\" role=\\\"tab\\\" aria-selected=\\\"true\\\" aria-controls=\\\"one\\\" tabindex=\\\"0\\\">Learn</button><button id=\\\"tab-two\\\" role=\\\"tab\\\" aria-selected=\\\"false\\\" aria-controls=\\\"two\\\" tabindex=\\\"-1\\\">Practice</button></div><section id=\\\"one\\\" role=\\\"tabpanel\\\" aria-labelledby=\\\"tab-one\\\">Read the explanation.</section><section id=\\\"two\\\" role=\\\"tabpanel\\\" aria-labelledby=\\\"tab-two\\\" hidden>Try the experiment.</section>\",\n \"styles.css\": \"body { font: 18px/1.55 system-ui; margin: 1.5rem; color: #17324d; background: #f5f8fc; } button,input,select,textarea { font: inherit; } button { padding: .5rem .8rem; cursor: pointer; } :focus-visible { outline: 3px solid #155ec4; outline-offset: 3px; } [hidden] { display: none !important; } output { display: block; margin-block: .7rem; } .card { padding: 1rem; border: 1px solid #8a9db2; border-radius: .7rem; }\",\n \"script.js\": \"const tabs = [...document.querySelectorAll(\\\"[role=tab]\\\")];\\nfunction select(index) { tabs.forEach((tab, i) => { const active = i === index; tab.setAttribute(\\\"aria-selected\\\", String(active)); tab.tabIndex = active ? 0 : -1; document.getElementById(tab.getAttribute(\\\"aria-controls\\\")).hidden = !active; }); tabs[index].focus(); }\\ntabs.forEach((tab, i) => { tab.addEventListener(\\\"click\\\", () => select(i)); tab.addEventListener(\\\"keydown\\\", event => { if ([\\\"ArrowRight\\\", \\\"ArrowLeft\\\"].includes(event.key)) { event.preventDefault(); select((i + (event.key === \\\"ArrowRight\\\" ? 1 : tabs.length - 1)) % tabs.length); } }); });\",\n \"assets/landscape.svg\": \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNDAwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCI+PHRpdGxlPkxheWVyZWQgbGFuZHNjYXBlPC90aXRsZT48cmVjdCB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCIgZmlsbD0iI2UyZWRmOCIvPjxjaXJjbGUgY3g9IjQ5MCIgY3k9Ijk1IiByPSI0NSIgZmlsbD0iI2ZmZjRjNCIvPjxwYXRoIGQ9Ik0wIDI4NSAxNzAgMTIwIDM1MCAyOTUgNTAwIDE4NSA2NDAgMjg1VjQwMEgwWiIgZmlsbD0iIzgxYTljZSIvPjxwYXRoIGQ9Ik0wIDMzNSAyMjAgMjMwIDQyMCAzNTAgNjQwIDI0MFY0MDBIMFoiIGZpbGw9IiMyOTUyN2IiLz48L3N2Zz4=\",\n \"assets/shapes.svg\": \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNDAwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCI+PHRpdGxlPkdlb21ldHJpYyBzdHVkeTwvdGl0bGU+PHJlY3Qgd2lkdGg9IjY0MCIgaGVpZ2h0PSI0MDAiIGZpbGw9IiNmMmVlZTUiLz48Y2lyY2xlIGN4PSIyMjAiIGN5PSIxOTAiIHI9IjEwMCIgZmlsbD0iI2Q3OTQ1NCIvPjxyZWN0IHg9IjMyMCIgeT0iMTEwIiB3aWR0aD0iMTgwIiBoZWlnaHQ9IjE4MCIgcng9IjMwIiBmaWxsPSIjMzE1ZDdmIi8+PHBhdGggZD0ibTEwMCAzMzAgMTIwLTE2MCAxMjAgMTYwWiIgZmlsbD0iI2UxYzc3OSIvPjwvc3ZnPg==\"\n}\nExpected:\n\"Selecting Practice reveals panel two and gives tab-two the selected entry point.\"\nI will supply my changed source and actual errors. Do not request secrets. Distinguish models from real Node/HTTP. Require me to reproduce and verify your suggested changes."
},
{
"goal": "Help me implement one feature; propose independent tests before code.",
"prompt": "Help me implement one feature; propose independent tests before code.\nLesson: Interactive components\nObjective: Tabs connect a tab list to mutually exclusive panels. Selecting a tab updates aria-selected, the roving tabindex and panel visibility together. Arrow keys move within the tab list; the selected tab becomes the keyboard entry point. The accessible name of each panel comes from its tab. This two-tab example supports click and ArrowRight/ArrowLeft; full testing also includes focus visibility and screen-reader announcements.\nReference source:\n{\n \"index.html\": \"<div role=\\\"tablist\\\" aria-label=\\\"Learning views\\\"><button id=\\\"tab-one\\\" role=\\\"tab\\\" aria-selected=\\\"true\\\" aria-controls=\\\"one\\\" tabindex=\\\"0\\\">Learn</button><button id=\\\"tab-two\\\" role=\\\"tab\\\" aria-selected=\\\"false\\\" aria-controls=\\\"two\\\" tabindex=\\\"-1\\\">Practice</button></div><section id=\\\"one\\\" role=\\\"tabpanel\\\" aria-labelledby=\\\"tab-one\\\">Read the explanation.</section><section id=\\\"two\\\" role=\\\"tabpanel\\\" aria-labelledby=\\\"tab-two\\\" hidden>Try the experiment.</section>\",\n \"styles.css\": \"body { font: 18px/1.55 system-ui; margin: 1.5rem; color: #17324d; background: #f5f8fc; } button,input,select,textarea { font: inherit; } button { padding: .5rem .8rem; cursor: pointer; } :focus-visible { outline: 3px solid #155ec4; outline-offset: 3px; } [hidden] { display: none !important; } output { display: block; margin-block: .7rem; } .card { padding: 1rem; border: 1px solid #8a9db2; border-radius: .7rem; }\",\n \"script.js\": \"const tabs = [...document.querySelectorAll(\\\"[role=tab]\\\")];\\nfunction select(index) { tabs.forEach((tab, i) => { const active = i === index; tab.setAttribute(\\\"aria-selected\\\", String(active)); tab.tabIndex = active ? 0 : -1; document.getElementById(tab.getAttribute(\\\"aria-controls\\\")).hidden = !active; }); tabs[index].focus(); }\\ntabs.forEach((tab, i) => { tab.addEventListener(\\\"click\\\", () => select(i)); tab.addEventListener(\\\"keydown\\\", event => { if ([\\\"ArrowRight\\\", \\\"ArrowLeft\\\"].includes(event.key)) { event.preventDefault(); select((i + (event.key === \\\"ArrowRight\\\" ? 1 : tabs.length - 1)) % tabs.length); } }); });\",\n \"assets/landscape.svg\": \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNDAwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCI+PHRpdGxlPkxheWVyZWQgbGFuZHNjYXBlPC90aXRsZT48cmVjdCB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCIgZmlsbD0iI2UyZWRmOCIvPjxjaXJjbGUgY3g9IjQ5MCIgY3k9Ijk1IiByPSI0NSIgZmlsbD0iI2ZmZjRjNCIvPjxwYXRoIGQ9Ik0wIDI4NSAxNzAgMTIwIDM1MCAyOTUgNTAwIDE4NSA2NDAgMjg1VjQwMEgwWiIgZmlsbD0iIzgxYTljZSIvPjxwYXRoIGQ9Ik0wIDMzNSAyMjAgMjMwIDQyMCAzNTAgNjQwIDI0MFY0MDBIMFoiIGZpbGw9IiMyOTUyN2IiLz48L3N2Zz4=\",\n \"assets/shapes.svg\": \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNDAwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCI+PHRpdGxlPkdlb21ldHJpYyBzdHVkeTwvdGl0bGU+PHJlY3Qgd2lkdGg9IjY0MCIgaGVpZ2h0PSI0MDAiIGZpbGw9IiNmMmVlZTUiLz48Y2lyY2xlIGN4PSIyMjAiIGN5PSIxOTAiIHI9IjEwMCIgZmlsbD0iI2Q3OTQ1NCIvPjxyZWN0IHg9IjMyMCIgeT0iMTEwIiB3aWR0aD0iMTgwIiBoZWlnaHQ9IjE4MCIgcng9IjMwIiBmaWxsPSIjMzE1ZDdmIi8+PHBhdGggZD0ibTEwMCAzMzAgMTIwLTE2MCAxMjAgMTYwWiIgZmlsbD0iI2UxYzc3OSIvPjwvc3ZnPg==\"\n}\nExpected:\n\"Selecting Practice reveals panel two and gives tab-two the selected entry point.\"\nI will supply my changed source and actual errors. Do not request secrets. Distinguish models from real Node/HTTP. Require me to reproduce and verify your suggested changes."
},
{
"goal": "Review/debug my actual source against the expected result; do not claim execution.",
"prompt": "Review/debug my actual source against the expected result; do not claim execution.\nLesson: Interactive components\nObjective: Tabs connect a tab list to mutually exclusive panels. Selecting a tab updates aria-selected, the roving tabindex and panel visibility together. Arrow keys move within the tab list; the selected tab becomes the keyboard entry point. The accessible name of each panel comes from its tab. This two-tab example supports click and ArrowRight/ArrowLeft; full testing also includes focus visibility and screen-reader announcements.\nReference source:\n{\n \"index.html\": \"<div role=\\\"tablist\\\" aria-label=\\\"Learning views\\\"><button id=\\\"tab-one\\\" role=\\\"tab\\\" aria-selected=\\\"true\\\" aria-controls=\\\"one\\\" tabindex=\\\"0\\\">Learn</button><button id=\\\"tab-two\\\" role=\\\"tab\\\" aria-selected=\\\"false\\\" aria-controls=\\\"two\\\" tabindex=\\\"-1\\\">Practice</button></div><section id=\\\"one\\\" role=\\\"tabpanel\\\" aria-labelledby=\\\"tab-one\\\">Read the explanation.</section><section id=\\\"two\\\" role=\\\"tabpanel\\\" aria-labelledby=\\\"tab-two\\\" hidden>Try the experiment.</section>\",\n \"styles.css\": \"body { font: 18px/1.55 system-ui; margin: 1.5rem; color: #17324d; background: #f5f8fc; } button,input,select,textarea { font: inherit; } button { padding: .5rem .8rem; cursor: pointer; } :focus-visible { outline: 3px solid #155ec4; outline-offset: 3px; } [hidden] { display: none !important; } output { display: block; margin-block: .7rem; } .card { padding: 1rem; border: 1px solid #8a9db2; border-radius: .7rem; }\",\n \"script.js\": \"const tabs = [...document.querySelectorAll(\\\"[role=tab]\\\")];\\nfunction select(index) { tabs.forEach((tab, i) => { const active = i === index; tab.setAttribute(\\\"aria-selected\\\", String(active)); tab.tabIndex = active ? 0 : -1; document.getElementById(tab.getAttribute(\\\"aria-controls\\\")).hidden = !active; }); tabs[index].focus(); }\\ntabs.forEach((tab, i) => { tab.addEventListener(\\\"click\\\", () => select(i)); tab.addEventListener(\\\"keydown\\\", event => { if ([\\\"ArrowRight\\\", \\\"ArrowLeft\\\"].includes(event.key)) { event.preventDefault(); select((i + (event.key === \\\"ArrowRight\\\" ? 1 : tabs.length - 1)) % tabs.length); } }); });\",\n \"assets/landscape.svg\": \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNDAwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCI+PHRpdGxlPkxheWVyZWQgbGFuZHNjYXBlPC90aXRsZT48cmVjdCB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCIgZmlsbD0iI2UyZWRmOCIvPjxjaXJjbGUgY3g9IjQ5MCIgY3k9Ijk1IiByPSI0NSIgZmlsbD0iI2ZmZjRjNCIvPjxwYXRoIGQ9Ik0wIDI4NSAxNzAgMTIwIDM1MCAyOTUgNTAwIDE4NSA2NDAgMjg1VjQwMEgwWiIgZmlsbD0iIzgxYTljZSIvPjxwYXRoIGQ9Ik0wIDMzNSAyMjAgMjMwIDQyMCAzNTAgNjQwIDI0MFY0MDBIMFoiIGZpbGw9IiMyOTUyN2IiLz48L3N2Zz4=\",\n \"assets/shapes.svg\": \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNDAwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQwMCI+PHRpdGxlPkdlb21ldHJpYyBzdHVkeTwvdGl0bGU+PHJlY3Qgd2lkdGg9IjY0MCIgaGVpZ2h0PSI0MDAiIGZpbGw9IiNmMmVlZTUiLz48Y2lyY2xlIGN4PSIyMjAiIGN5PSIxOTAiIHI9IjEwMCIgZmlsbD0iI2Q3OTQ1NCIvPjxyZWN0IHg9IjMyMCIgeT0iMTEwIiB3aWR0aD0iMTgwIiBoZWlnaHQ9IjE4MCIgcng9IjMwIiBmaWxsPSIjMzE1ZDdmIi8+PHBhdGggZD0ibTEwMCAzMzAgMTIwLTE2MCAxMjAgMTYwWiIgZmlsbD0iI2UxYzc3OSIvPjwvc3ZnPg==\"\n}\nExpected:\n\"Selecting Practice reveals panel two and gives tab-two the selected entry point.\"\nI will supply my changed source and actual errors. Do not request secrets. Distinguish models from real Node/HTTP. Require me to reproduce and verify your suggested changes."
}
]