A11Y added missing iframe title to installer and preview controller.

This commit is contained in:
Rachel Breeze
2022-10-23 12:48:05 +01:00
committed by Sebastiaan Janssen
parent ce60e72452
commit d32b93349d
2 changed files with 2 additions and 1 deletions

View File

@@ -35,7 +35,7 @@
<div ng-switch-when="ysod"> <div ng-switch-when="ysod">
<h1>A server error occurred</h1> <h1>A server error occurred</h1>
<p>This is most likely due to an error during application startup</p> <p>This is most likely due to an error during application startup</p>
<iframe id="ysod"></iframe> <iframe id="ysod" title="Error details"></iframe>
</div> </div>
<div ng-switch-default> <div ng-switch-default>
<div ng-include="installer.current.view"></div> <div ng-include="installer.current.view"></div>

View File

@@ -455,6 +455,7 @@ var app = angular.module("umbraco.preview", ['umbraco.resources', 'umbraco.servi
$scope.onFrameLoaded = function (iframe) { $scope.onFrameLoaded = function (iframe) {
iframe.title = "Page preview";
$scope.frameLoaded = true; $scope.frameLoaded = true;
configureSignalR(iframe); configureSignalR(iframe);
fixExternalLinks(iframe); fixExternalLinks(iframe);