Skip to content

Commit

Permalink
Add title to SockJS iFrames for accessibility compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
Aashay-Chapatwala authored and sbrannen committed Nov 28, 2022
1 parent 92b2b82 commit 332d2a3
Showing 1 changed file with 2 additions and 1 deletion.
@@ -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.
Expand Down Expand Up @@ -620,6 +620,7 @@ private class IframeHandler implements SockJsRequestHandler {
"<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" +
Expand Down

0 comments on commit 332d2a3

Please sign in to comment.