File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed 
packages/react/src/Button Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ export const LabelWrap = () => {
205205} 
206206
207207export  const  InactiveButtonWithTooltip  =  ( )  =>  ( 
208-   < Tooltip  text = "Action unavailable: an error occurred while loading respository  permissions"  direction = "n" > 
208+   < Tooltip  text = "Action unavailable: an error occurred while loading repository  permissions"  direction = "n" > 
209209    < Button  inactive > Review changes</ Button > 
210210  </ Tooltip > 
211211) 
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ const ButtonBase = forwardRef(
111111              . filter ( descriptionID  =>  Boolean ( descriptionID ) ) 
112112              . join ( ' ' ) } 
113113            // aria-labelledby is needed because the accessible name becomes unset when the button is in a loading state. 
114-             // We only set it when the button is in a loading state because it will supercede  the aria-label when the screen 
114+             // We only set it when the button is in a loading state because it will supersede  the aria-label when the screen 
115115            // reader announces the button name. 
116116            aria-labelledby = { 
117117              loading  ? [ `${ uuid }  ,  ariaLabelledBy ] . filter ( labelID  =>  Boolean ( labelID ) ) . join ( ' ' )  : ariaLabelledBy 
@@ -233,7 +233,7 @@ const ButtonBase = forwardRef(
233233            . filter ( descriptionID  =>  Boolean ( descriptionID ) ) 
234234            . join ( ' ' ) } 
235235          // aria-labelledby is needed because the accessible name becomes unset when the button is in a loading state. 
236-           // We only set it when the button is in a loading state because it will supercede  the aria-label when the screen 
236+           // We only set it when the button is in a loading state because it will supersede  the aria-label when the screen 
237237          // reader announces the button name. 
238238          aria-labelledby = { 
239239            loading  ? [ `${ uuid }  ,  ariaLabelledBy ] . filter ( labelID  =>  Boolean ( labelID ) ) . join ( ' ' )  : ariaLabelledBy 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments