mirror of
				https://gitlab.nic.cz/turris/reforis/foris-js.git
				synced 2025-11-03 23:00:31 +01:00 
			
		
		
		
	Add semantic & accessibility structure for headings
This commit is contained in:
		@@ -50,7 +50,7 @@ export default function ResetWiFiSettings({ ws, endpoint }) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    return (
 | 
					    return (
 | 
				
			||||||
        <>
 | 
					        <>
 | 
				
			||||||
            <h4>{_("Reset Wi-Fi Settings")}</h4>
 | 
					            <h2>{_("Reset Wi-Fi Settings")}</h2>
 | 
				
			||||||
            <p>
 | 
					            <p>
 | 
				
			||||||
                {_(`
 | 
					                {_(`
 | 
				
			||||||
If a number of wireless cards doesn't match, you may try to reset the Wi-Fi settings. Note that this will remove the
 | 
					If a number of wireless cards doesn't match, you may try to reset the Wi-Fi settings. Note that this will remove the
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -80,7 +80,7 @@ function DeviceForm({
 | 
				
			|||||||
    const deviceID = formData.id;
 | 
					    const deviceID = formData.id;
 | 
				
			||||||
    return (
 | 
					    return (
 | 
				
			||||||
        <>
 | 
					        <>
 | 
				
			||||||
            <h3>{_(`Wi-Fi ${deviceID + 1}`)}</h3>
 | 
					            <h2>{_(`Wi-Fi ${deviceID + 1}`)}</h2>
 | 
				
			||||||
            <CheckBox
 | 
					            <CheckBox
 | 
				
			||||||
                label={_("Enable")}
 | 
					                label={_("Enable")}
 | 
				
			||||||
                checked={formData.enabled}
 | 
					                checked={formData.enabled}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user