mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:22:45 +00:00 
			
		
		
		
	LibWeb: Move ARIA-related code into the Web::ARIA namespace
ARIA has its own spec and is not part of the DOM spec, which is what the Web::DOM namespace is for (https://www.w3.org/TR/wai-aria-1.2/). This allows us to stay closer to the spec with function names and don't have to add the word "ARIA" to identifiers constantly - the namespace now provides that clarity.
This commit is contained in:
		
							parent
							
								
									8414734a2d
								
							
						
					
					
						commit
						8556d47240
					
				
					 61 changed files with 179 additions and 180 deletions
				
			
		|  | @ -6,7 +6,7 @@ | |||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| #include <LibWeb/DOM/ARIARoles.h> | ||||
| #include <LibWeb/ARIA/Roles.h> | ||||
| #include <LibWeb/HTML/FormAssociatedElement.h> | ||||
| #include <LibWeb/HTML/HTMLElement.h> | ||||
| 
 | ||||
|  | @ -36,7 +36,7 @@ public: | |||
|     // https://html.spec.whatwg.org/multipage/forms.html#category-autocapitalize
 | ||||
|     virtual bool is_auto_capitalize_inheriting() const override { return true; } | ||||
| 
 | ||||
|     virtual Optional<DOM::ARIARoles::Role> default_role() const override { return DOM::ARIARoles::Role::group; } | ||||
|     virtual Optional<ARIA::Role> default_role() const override { return ARIA::Role::group; } | ||||
| 
 | ||||
| private: | ||||
|     HTMLFieldSetElement(DOM::Document&, DOM::QualifiedName); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Linus Groh
						Linus Groh