mirror of
				https://github.com/BookStackApp/BookStack.git
				synced 2025-11-03 02:13:16 +03:00 
			
		
		
		
	Improved accessibility for many editor page components
Related to #1320
This commit is contained in:
		@@ -23,6 +23,8 @@ class EditorToolbox {
 | 
			
		||||
 | 
			
		||||
    toggle() {
 | 
			
		||||
        this.elem.classList.toggle('open');
 | 
			
		||||
        const expanded = this.elem.classList.contains('open') ? 'true' : 'false';
 | 
			
		||||
        this.toggleButton.setAttribute('aria-expanded', expanded);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    setActiveTab(tabName, openToolbox = false) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user