mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-03 13:09:15 -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() {
|
||||
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}">
|
||||
${this.name}
|
||||
</a>
|
||||
|
|
|
@ -46,7 +46,7 @@ class HTMLOperation {
|
|||
* @returns {string}
|
||||
*/
|
||||
toStubHtml(removeIcon) {
|
||||
let html = "<li class='operation'";
|
||||
let html = "<li tabIndex='0' class='operation'";
|
||||
|
||||
if (this.description) {
|
||||
const infoLink = this.infoURL ? `<hr>${titleFromWikiLink(this.infoURL)}` : "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue