Skip to content

Commit 4686874

Browse files
committed
Change the labels of the expand nested fields button and add styles for the development canvas.
1 parent b2889e2 commit 4686874

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/pods/canvas/components/canvas-accessible/canvas-accessible.pod.module.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
/* only for see the content while developing */
66
/*
77
z-index: 1;
8-
background-color: rgba(0, 0, 0, 0.908); */
8+
background-color: rgba(0, 0, 0, 0.908);
9+
text-align: left;
10+
padding-left: 2rem; */
911
/* comment for show accessibility canvas*/
1012
width: 1px;
1113
height: 1px;

src/pods/edit-table/components/field.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ export const Field: React.FC<Props> = props => {
134134
onClick={() => toggleExpand(field.id)}
135135
aria-label={
136136
expandedFields.has(field.id)
137-
? 'contract nested fields'
138-
: 'expand nested fields'
137+
? `collapse nested fields of "${field.name}"`
138+
: `expand nested fields of "${field.name}"`
139139
}
140140
>
141141
{expandedFields.has(field.id) ? (

0 commit comments

Comments
 (0)