feature: Add field for ARIA label in button block

This commit is contained in:
Keith Solomon
2025-11-25 08:50:39 -06:00
parent f086c17d26
commit a1d2b59919
3 changed files with 133 additions and 70 deletions

View File

@@ -26,7 +26,8 @@
"other_choice": 0,
"allow_in_bindings": 0,
"layout": "horizontal",
"save_other_choice": 0
"save_other_choice": 0,
"wpml_cf_preferences": 1
},
{
"key": "field_5f7f85a71151d",
@@ -42,7 +43,8 @@
"class": "",
"id": ""
},
"return_format": "array"
"return_format": "array",
"wpml_cf_preferences": 1
},
{
"key": "field_5f7f85bd1151e",
@@ -71,7 +73,10 @@
"allow_in_bindings": 1,
"ui": 0,
"ajax": 0,
"placeholder": ""
"placeholder": "",
"create_options": 0,
"save_options": 0,
"wpml_cf_preferences": 1
},
{
"key": "field_5f7f85e41151f",
@@ -97,7 +102,10 @@
"ui": 0,
"return_format": "value",
"ajax": 0,
"placeholder": ""
"placeholder": "",
"create_options": 0,
"save_options": 0,
"wpml_cf_preferences": 1
},
{
"key": "field_5f807a47dd2a8",
@@ -125,7 +133,10 @@
"allow_in_bindings": 1,
"ui": 0,
"ajax": 0,
"placeholder": ""
"placeholder": "",
"create_options": 0,
"save_options": 0,
"wpml_cf_preferences": 1
},
{
"key": "field_605924972a98a",
@@ -154,7 +165,32 @@
"allow_in_bindings": 1,
"ui": 0,
"ajax": 0,
"placeholder": ""
"placeholder": "",
"create_options": 0,
"save_options": 0,
"wpml_cf_preferences": 1
},
{
"key": "field_6924c83e85da9",
"label": "ARIA Label",
"name": "aria_label",
"aria-label": "",
"type": "text",
"instructions": "Used to give the link an accessible name if using \"Read more\" as the title",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"wpml_cf_preferences": 0,
"default_value": "",
"maxlength": "",
"allow_in_bindings": 0,
"placeholder": "",
"prepend": "",
"append": ""
}
],
"location": [
@@ -175,5 +211,7 @@
"active": true,
"description": "",
"show_in_rest": 0,
"modified": 1742236256
"display_title": "",
"acfml_field_group_mode": "translation",
"modified": 1764018311
}