Skip to content

Commit bb3335b

Browse files
author
Lawri van Buël
committed
feat: Issue #3174701: Add iframe label
- implemented by giving the iframe a title of `Chat windowframe` (as descriptive without revealing anything specific about the chat server, since that could be an implementation secret.). Signed-off-by: Lawri van Buël <sysosmaster@2588960.no-reply.drupal.org>
1 parent 9800852 commit bb3335b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/rocket_chat_group/templates/rocketChatChannelBlock.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<a href="{{ app }}" id="LinkToRocketChatAppButton" type="button" style="float: right" class="btn btn-accent btn-danger btn-raised waves-effect waves-btn waves-light" target="_blank">To App</a>
2424
</div>
2525
{% endif %}
26-
<iframe id="rocketChatChannelFrame" src="{{ url|raw }}" width="{{ width }}" height="{{ height }}" onload="ChatLogin()" sandbox="allow-popups allow-scripts allow-forms allow-same-origin">
26+
<iframe id="rocketChatChannelFrame" title="Chat windowframe" src="{{ url|raw }}" width="{{ width }}" height="{{ height }}" onload="ChatLogin()" sandbox="allow-popups allow-scripts allow-forms allow-same-origin">
2727
</iframe>
2828
<noscript>
2929
<a href="{{ url|raw }}" target="_blank"><button>{{ 'Press here to Open chat'|t }}</button></a>

0 commit comments

Comments
 (0)