- 
                Notifications
    You must be signed in to change notification settings 
- Fork 4
Sc 12778/improve components to be wcag 2.2 aa compliant #155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
            haoAddsearch
  merged 12 commits into
  master
from
sc-12778/improve-components-to-be-wcag-2.2-aa-compliant
  
      
      
   
  Oct 23, 2025 
      
    
  
     Merged
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            12 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      39927b7
              
                [sc-12778] add meaningful aria-label and role to svg images
              
              
                haoAddsearch b008e66
              
                [sc-12778] implement ARIA attributes for activeFilters, autocomplete,…
              
              
                haoAddsearch a9b3654
              
                [sc-12778] implement live-region for searchResults component
              
              
                haoAddsearch 81539bf
              
                [sc-12778] fix activeFilters remove handler
              
              
                haoAddsearch a547b39
              
                [sc-12778] add labels (configurable) in filter groups
              
              
                haoAddsearch 415d505
              
                [sc-12778] add label and focus indicator to sortby component
              
              
                haoAddsearch bfa77b7
              
                [sc-12778] refine DOM structure hierarchy & Interactive elements expo…
              
              
                haoAddsearch 14e4a39
              
                [sc-12778] resolve CodeRabbit comments
              
              
                haoAddsearch 3109afc
              
                [sc-12778] resolve SonarCloud issues
              
              
                haoAddsearch eff77c6
              
                [sc-12778] resolve PR's comments
              
              
                haoAddsearch 1dd00bb
              
                Increase version 0.10.0
              
              
                haoAddsearch c957861
              
                [sc-12778] rename helper "validateOpenState" to "isCollapsed", make c…
              
              
                haoAddsearch File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
        
          
          
            40 changes: 25 additions & 15 deletions
          
          40 
        
  src/components/activefilters/precompile-templates/activefilters.handlebars
  
  
      
      
   
        
      
      
    
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -1,17 +1,27 @@ | ||
| <div class="addsearch-active-filters"> | ||
| {{#each active}} | ||
| <div class="item"> | ||
| <span>{{label}}</span> | ||
| <button data-type="{{type}}" data-name="{{name}}" data-value="{{value}}" | ||
| {{#if rangeMin}}data-range-min="{{rangeMin}}"{{/if}} | ||
| {{#if rangeMax}}data-range-max="{{rangeMax}}"{{/if}} | ||
| {{#if container}}data-container="{{container}}"{{/if}} | ||
| {{#if confFields}}data-conf-fields="{{confFields}}"{{/if}} >×</button> | ||
| </div> | ||
| {{/each}} | ||
| {{#if clearAll}} | ||
| {{#gt active.length 1}} | ||
| <div class="item"><button data-clearall="true">Clear all</button></div> | ||
| {{/gt}} | ||
| {{/if}} | ||
| <h3 class="addsearch-sr-only">Active filters</h3> | ||
| <ul> | ||
| {{#each active}} | ||
| <li class="item"> | ||
| <span>{{label}}</span> | ||
| <button aria-label="Remove {{label}} filter" | ||
| data-type="{{type}}" | ||
| data-name="{{name}}" | ||
| data-value="{{value}}" | ||
| {{#if rangeMin}}data-range-min="{{rangeMin}}"{{/if}} | ||
| {{#if rangeMax}}data-range-max="{{rangeMax}}"{{/if}} | ||
| {{#if container}}data-container="{{container}}"{{/if}} | ||
| {{#if confFields}}data-conf-fields="{{confFields}}"{{/if}}> | ||
| <span aria-hidden="true">×</span> | ||
| </button> | ||
| </li> | ||
| {{/each}} | ||
| {{#if clearAll}} | ||
| {{#gt active.length 1}} | ||
| <li class="item"> | ||
| <button data-clearall="true" aria-label="Clear all active filters">Clear all</button> | ||
| </li> | ||
| {{/gt}} | ||
| {{/if}} | ||
| </ul> | ||
| </div> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.