From ea424ac83ba2cb80c9193fd17af288715038ab2d Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Wed, 9 Sep 2020 22:40:50 -0400 Subject: [PATCH] remove textile toolbar buttons from tab indexing --- .../templates/textile/_toolbar.html.slime | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/philomena_web/templates/textile/_toolbar.html.slime b/lib/philomena_web/templates/textile/_toolbar.html.slime index b1e7f202..7f3c4782 100644 --- a/lib/philomena_web/templates/textile/_toolbar.html.slime +++ b/lib/philomena_web/templates/textile/_toolbar.html.slime @@ -1,34 +1,34 @@ .communication__toolbar.flex.flex--wrap - button.communication__toolbar__button type="button" title="bold (ctrl+b)" data-syntax-id="bold" + button.communication__toolbar__button tabindex="-1" type="button" title="bold (ctrl+b)" data-syntax-id="bold" strong | B - button.communication__toolbar__button type="button" title="italics (ctrl+i)" data-syntax-id="italics" + button.communication__toolbar__button tabindex="-1" type="button" title="italics (ctrl+i)" data-syntax-id="italics" em | i - button.communication__toolbar__button type="button" title="underline (ctrl+u)" data-syntax-id="under" + button.communication__toolbar__button tabindex="-1" type="button" title="underline (ctrl+u)" data-syntax-id="under" ins | U - button.communication__toolbar__button type="button" title="mark as spoiler (ctrl+s)" data-syntax-id="spoiler" + button.communication__toolbar__button tabindex="-1" type="button" title="mark as spoiler (ctrl+s)" data-syntax-id="spoiler" span.spoiler-revealed | spoiler - button.communication__toolbar__button type="button" title="code formatting (ctrl+e)" data-syntax-id="code" + button.communication__toolbar__button tabindex="-1" type="button" title="code formatting (ctrl+e)" data-syntax-id="code" code | code - button.communication__toolbar__button type="button" title="strikethrough" data-syntax-id="strike" + button.communication__toolbar__button tabindex="-1" type="button" title="strikethrough" data-syntax-id="strike" del | strike - button.communication__toolbar__button type="button" title="superscript" data-syntax-id="superscript" + button.communication__toolbar__button tabindex="-1" type="button" title="superscript" data-syntax-id="superscript" sup | sup - button.communication__toolbar__button type="button" title="subscript" data-syntax-id="subscript" + button.communication__toolbar__button tabindex="-1" type="button" title="subscript" data-syntax-id="subscript" sub | sub - button.communication__toolbar__button type="button" title="insert blockquote" data-syntax-id="quote" + button.communication__toolbar__button tabindex="-1" type="button" title="insert blockquote" data-syntax-id="quote" i.fa.fa-quote-right - button.communication__toolbar__button type="button" title="insert hyperlink (ctrl+l)" data-syntax-id="link" + button.communication__toolbar__button tabindex="-1" type="button" title="insert hyperlink (ctrl+l)" data-syntax-id="link" i.fa.fa-link - button.communication__toolbar__button type="button" title="insert image (ctrl+k)" data-syntax-id="image" + button.communication__toolbar__button tabindex="-1" type="button" title="insert image (ctrl+k)" data-syntax-id="image" i.fa.fa-image - button.communication__toolbar__button type="button" title="Text you want the parser to ignore" data-syntax-id="noParse" + button.communication__toolbar__button tabindex="-1" type="button" title="Text you want the parser to ignore" data-syntax-id="noParse" span | no parse