@@ -14,7 +14,7 @@ class="dropdown-container draft-display text {{ $draftsEnabled ? '' : 'hidden'
1414 <div class =" flex-container-row items-center justify-center" >
1515 <button type =" button"
1616 refs =" dropdown@toggle"
17- aria-haspopup =" true "
17+ aria-haspopup =" menu "
1818 aria-expanded =" false"
1919 title =" {{ trans (' entities.pages_edit_draft_options' ) } }"
2020 class =" text-link icon-list-item" >
@@ -25,46 +25,46 @@ class="text-link icon-list-item">
2525 </div >
2626 <ul refs =" dropdown@menu" class =" dropdown-menu" role =" menu" >
2727 <li >
28- <button refs =" page-editor@saveDraft" type =" button" class =" text-pos icon-item" >
28+ <button refs =" page-editor@saveDraft" type =" button" role = " menuitem " class =" text-pos icon-item" >
2929 @icon (' save' )
3030 <div >{{ trans (' entities.pages_edit_save_draft' ) } } </div >
3131 </button >
3232 </li >
3333 @if ($isDraft )
3434 <li >
35- <a href =" {{ $model -> getUrl (' /delete' ) } }" class =" text-neg icon-item" >
35+ <a href =" {{ $model -> getUrl (' /delete' ) } }" role = " menuitem " class =" text-neg icon-item" >
3636 @icon (' delete' )
3737 {{ trans (' entities.pages_edit_delete_draft' ) } }
3838 </a >
3939 </li >
4040 @endif
4141 <li refs =" page-editor@discard-draft-wrap" {{ $isDraftRevision ? ' ' : ' hidden' } } >
42- <button refs =" page-editor@discard-draft" type =" button" class =" text-warn icon-item" >
42+ <button refs =" page-editor@discard-draft" type =" button" role = " menuitem " class =" text-warn icon-item" >
4343 @icon (' cancel' )
4444 <div >{{ trans (' entities.pages_edit_discard_draft' ) } } </div >
4545 </button >
4646 </li >
4747 <li refs =" page-editor@delete-draft-wrap" {{ $isDraftRevision ? ' ' : ' hidden' } } >
48- <button refs =" page-editor@delete-draft" type =" button" class =" text-neg icon-item" >
48+ <button refs =" page-editor@delete-draft" type =" button" role = " menuitem " class =" text-neg icon-item" >
4949 @icon (' delete' )
5050 <div >{{ trans (' entities.pages_edit_delete_draft' ) } } </div >
5151 </button >
5252 </li >
5353 @if (userCan (' editor-change' ) )
54- <li >
54+ <li role = " presentation " >
5555 <hr >
5656 </li >
5757 <li >
5858 @if ($editor !== \BookStack \Entities \Tools \PageEditorType:: Markdown )
59- <a href =" {{ $model -> getUrl ($isDraft ? ' ' : ' /edit' ) } } ?editor=markdown-clean" refs =" page-editor@changeEditor" class =" icon-item" >
59+ <a href =" {{ $model -> getUrl ($isDraft ? ' ' : ' /edit' ) } } ?editor=markdown-clean" refs =" page-editor@changeEditor" role = " menuitem " class =" icon-item" >
6060 @icon (' swap-horizontal' )
6161 <div >
6262 {{ trans (' entities.pages_edit_switch_to_markdown' ) } }
6363 <br >
6464 <small >{{ trans (' entities.pages_edit_switch_to_markdown_clean' ) } } </small >
6565 </div >
6666 </a >
67- <a href =" {{ $model -> getUrl ($isDraft ? ' ' : ' /edit' ) } } ?editor=markdown-stable" refs =" page-editor@changeEditor" class =" icon-item" >
67+ <a href =" {{ $model -> getUrl ($isDraft ? ' ' : ' /edit' ) } } ?editor=markdown-stable" refs =" page-editor@changeEditor" role = " menuitem " class =" icon-item" >
6868 @icon (' swap-horizontal' )
6969 <div >
7070 {{ trans (' entities.pages_edit_switch_to_markdown' ) } }
@@ -74,13 +74,13 @@ class="text-link icon-list-item">
7474 </a >
7575 @endif
7676 @if ($editor !== \BookStack \Entities \Tools \PageEditorType:: WysiwygTinymce )
77- <a href =" {{ $model -> getUrl ($isDraft ? ' ' : ' /edit' ) } } ?editor=wysiwyg" refs =" page-editor@changeEditor" class =" icon-item" >
77+ <a href =" {{ $model -> getUrl ($isDraft ? ' ' : ' /edit' ) } } ?editor=wysiwyg" refs =" page-editor@changeEditor" role = " menuitem " class =" icon-item" >
7878 @icon (' swap-horizontal' )
7979 <div >{{ trans (' entities.pages_edit_switch_to_wysiwyg' ) } } </div >
8080 </a >
8181 @endif
8282 @if ($editor !== \BookStack \Entities \Tools \PageEditorType:: WysiwygLexical )
83- <a href =" {{ $model -> getUrl ($isDraft ? ' ' : ' /edit' ) } } ?editor=wysiwyg2024" refs =" page-editor@changeEditor" class =" icon-item" >
83+ <a href =" {{ $model -> getUrl ($isDraft ? ' ' : ' /edit' ) } } ?editor=wysiwyg2024" refs =" page-editor@changeEditor" role = " menuitem " class =" icon-item" >
8484 @icon (' swap-horizontal' )
8585 <div >
8686 {{ trans (' entities.pages_edit_switch_to_new_wysiwyg' ) } }
@@ -112,6 +112,7 @@ class="dropdown-container">
112112 id =" summary-input"
113113 rows =" 2"
114114 maxlength =" 180"
115+ title =" {{ trans (' entities.pages_edit_enter_changelog' ) } }"
115116 placeholder =" {{ trans (' entities.pages_edit_enter_changelog' ) } }"
116117 ></textarea >
117118 <small refs =" page-editor@changelogCounter" class =" text-muted mt-xs" >0 / 180</small >
0 commit comments