From 097edbc9c2b6d58ac358b655fe36750fa285cff3 Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Fri, 17 May 2019 14:35:01 +1200 Subject: [PATCH] Update title and description of IFrameTitle field --- src/IFramePage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/IFramePage.php b/src/IFramePage.php index 6a64a2f..b8ed365 100644 --- a/src/IFramePage.php +++ b/src/IFramePage.php @@ -50,8 +50,8 @@ class IFramePage extends Page $fields->removeFieldFromTab('Root.Main', 'Content'); $fields->addFieldsToTab('Root.Main', [ $url = TextField::create('IFrameURL', 'Iframe URL'), - TextField::create('IFrameTitle', 'Iframe Title') - ->setDescription(_t(__CLASS__ . '.TITLE_DESCRIPTION', 'Used to identify the contents of the Iframe')), + TextField::create('IFrameTitle', 'Description of contents (title)') + ->setDescription(_t(__CLASS__ . '.TITLE_DESCRIPTION', 'Used by screen readers')), ]); $url->setRightTitle( DBField::create_field(