mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-06 14:37:11 -04:00
adding tab index to operations panel
This commit is contained in:
parent
c13997bdb1
commit
65b058fd68
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ class HTMLCategory {
|
||||||
*/
|
*/
|
||||||
toHtml() {
|
toHtml() {
|
||||||
const catName = "cat" + this.name.replace(/[\s/\-:_]/g, "");
|
const catName = "cat" + this.name.replace(/[\s/\-:_]/g, "");
|
||||||
let html = `<div class="panel category">
|
let html = `<div class="panel category" tabIndex="0">
|
||||||
<a class="category-title" data-toggle="collapse" data-target="#${catName}">
|
<a class="category-title" data-toggle="collapse" data-target="#${catName}">
|
||||||
${this.name}
|
${this.name}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -46,7 +46,7 @@ class HTMLOperation {
|
||||||
* @returns {string}
|
* @returns {string}
|
||||||
*/
|
*/
|
||||||
toStubHtml(removeIcon) {
|
toStubHtml(removeIcon) {
|
||||||
let html = "<li class='operation'";
|
let html = "<li tabIndex='0' class='operation'";
|
||||||
|
|
||||||
if (this.description) {
|
if (this.description) {
|
||||||
const infoLink = this.infoURL ? `<hr>${titleFromWikiLink(this.infoURL)}` : "";
|
const infoLink = this.infoURL ? `<hr>${titleFromWikiLink(this.infoURL)}` : "";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue