Browse Source

Add title to SockJS iFrames for accessibility compliance

Closes gh-29594
pull/29602/head
Aashay Chapatwala 3 years ago committed by Sam Brannen
parent
commit
650875468c
  1. 1
      spring-websocket/src/main/java/org/springframework/web/socket/sockjs/support/AbstractSockJsService.java

1
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/support/AbstractSockJsService.java

@ -620,6 +620,7 @@ public abstract class AbstractSockJsService implements SockJsService, CorsConfig @@ -620,6 +620,7 @@ public abstract class AbstractSockJsService implements SockJsService, CorsConfig
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>SocketJS iframe</title>
<script>
document.domain = document.domain;
_sockjs_onload = function(){SockJS.bootstrap_iframe();};

Loading…
Cancel
Save