Skip to content

Commit cf68793

Browse files
committed
fix: update readme with label editing behaviour
1 parent a49f0e0 commit cf68793

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/blocks/my-account-button/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ Provides a reader account/sign-in button for sites using Newspack Reader Activat
55
## Settings
66
- Signed in label (`signedInLabel`): Text shown when the reader is authenticated.
77
- Signed out label (`signedOutLabel`): Text shown when the reader is not authenticated.
8-
- Display: ability to toggle on/off the display of the button's icon or text label. Note: you cannot toggle off both the icon and label at the same time.
8+
9+
### Display
10+
The button also has the ability to toggle on/off the display of the icon or text label. You cannot toggle off both the icon and label at the same time.
11+
12+
When only the icon is visible, screenreaders will still be able to read the label, even if it's not visible. If this hidden label needs to be edited, it will need to be toggled back on in the editor, changed, and then hidden again.
913

1014
## Editor behavior
1115
- Use the toolbar toggle (Signed in / Signed out) to edit each label.

0 commit comments

Comments
 (0)