Skip to content

Commit a1a0149

Browse files
sserrataclaude
andcommitted
docs(theme): clarify tooltip on schema expansion control
Switch the aria-label / title from "Schema expansion depth" to a more descriptive "Set how deep schemas auto-expand" so hovering the icon explains what the control does. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent a2a75ca commit a1a0149

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/docusaurus-theme-openapi-docs/src/theme/SchemaExpansion

packages/docusaurus-theme-openapi-docs/src/theme/SchemaExpansion/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ const SchemaExpansionControl: React.FC = () => {
110110
const levels = Array.from({ length: config.max + 1 }, (_, i) => i);
111111
const buttonLabel = translate({
112112
id: "theme.openapi.schema.expansion.button",
113-
message: "Schema expansion depth",
114-
description: "Aria/title for the schema expansion icon button",
113+
message: "Set how deep schemas auto-expand",
114+
description: "Aria/title tooltip for the schema expansion icon button",
115115
});
116116
const allLabel = translate({
117117
id: "theme.openapi.schema.expansion.all",

0 commit comments

Comments
 (0)