diff --git a/mod/forum/styles.css b/mod/forum/styles.css index d1e59bcdd5c..c7f31dd9a45 100644 --- a/mod/forum/styles.css +++ b/mod/forum/styles.css @@ -342,10 +342,19 @@ span.unread { font-size: 80%; } +.forum-post-container:focus { + outline: 0; +} + /* This style is copied directly from the Bootstrap reboot file which adds button outline */ /* stylelint-disable declaration-block-no-duplicate-properties */ .post-actions .btn:focus { outline: 1px dotted; outline: 5px auto -webkit-focus-ring-color; } + +.forum-post-container:focus > .focus-target { + outline: 1px dotted; + outline: 5px auto -webkit-focus-ring-color; +} /* stylelint-enable declaration-block-no-duplicate-properties */ diff --git a/mod/forum/templates/forum_discussion_post.mustache b/mod/forum/templates/forum_discussion_post.mustache index 4fe9a4b4e25..e5a8e1d1c48 100644 --- a/mod/forum/templates/forum_discussion_post.mustache +++ b/mod/forum/templates/forum_discussion_post.mustache @@ -31,7 +31,7 @@ }}