Add title to SockJS iFrames for accessibility compliance
Closes gh-29594
This commit is contained in:
committed by
Sam Brannen
parent
92b2b828f5
commit
332d2a36bb
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2021 the original author or authors.
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -620,6 +620,7 @@ public abstract class AbstractSockJsService implements SockJsService, CorsConfig
|
||||
"<head>\n" +
|
||||
" <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n" +
|
||||
" <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n" +
|
||||
" <title>SocketJS iframe</title>\n" +
|
||||
" <script>\n" +
|
||||
" document.domain = document.domain;\n" +
|
||||
" _sockjs_onload = function(){SockJS.bootstrap_iframe();};\n" +
|
||||
|
||||
Reference in New Issue
Block a user