We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
role="switch"
aria-checked="true|false"
aria-labelledby
aria-label
aria-describedby
aria-hidden
aria-checked
<div role="switch">
<span>
<div class="MuiSwitch-root">
<input type="checkbox" role="switch">
<button type="button" role="switch">
<div role="switch" aria-checked="false" tabindex="0"> <span class="label"> Notifications </span> <span class="switch"> <span></span> </span> <span class="on" aria-hidden="true"> On </span> <span class="off" aria-hidden="true"> Off </span> </div>
<div class="MuiSwitch-root"> <span class="MuiSwitch-track"> <span class="MuiSwitch-thumb"></span> </span> <div class="MuiSwitch-action"> <input type="checkbox" role="switch" class="MuiSwitch-input"> </div> </div>
<button type="button" role="switch" aria-checked="true" class="ant-switch ant-switch-checked"> <div class="ant-switch-handle"></div> <span class="ant-switch-inner"> <span class="ant-switch-inner-checked"></span> <span class="ant-switch-inner-unchecked"></span> </span> </button>
role
aria-*
<button>
<div>
<label class="switch"> <input type="checkbox" role="switch" aria-checked="false"> <span class="slider"></span> <span class="label">Switch Label</span> </label>
switch
checked
The text was updated successfully, but these errors were encountered:
No branches or pull requests
๐ ์ปดํฌ๋ํธ ์ ๋ณด
๐ ์ฐธ์กฐ ๋ฐ ๋ ํผ๋ฐ์ค
๐ ์ ๊ทผ์ฑ ๋ฐ ARIA ์ ์ฉ ์ฌ๋ถ
role="switch"
: ์์๊ฐ switch์์ ๋ํ๋aria-checked="true|false"
: switch์ ์ํ(on/off)๋ฅผ ๋ํ๋aria-labelledby
,aria-label
: switch์ ๋ ์ด๋ธ์ ์ ๊ณตaria-describedby
: switch์ ๋ํ ์ถ๊ฐ ์ค๋ช ์ ์ ๊ณตaria-hidden
์์ฑ ์ฌ์ฉrole="switch"
์aria-checked
๋ฅผ ์ฌ์ฉํ์ฌ switch์ ์ญํ ๊ณผ ์ํ๋ฅผ ์ ๋ฌ๐๏ธ ๋งํฌ์ ๊ตฌ์กฐ ๋ถ์
<div role="switch">
,<span>
<div class="MuiSwitch-root">
,<input type="checkbox" role="switch">
<button type="button" role="switch">
role
๊ณผaria-*
์์ฑ ์ฌ์ฉ<input type="checkbox" role="switch">
๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ์คํ์ผ๋ง ๋ฐ ๊ธฐ๋ฅ ์ถ๊ฐ<button>
์ ๊ธฐ๋ฐ์ผ๋ก ์คํ์ผ๋ง ๋ฐ ๊ธฐ๋ฅ ์ถ๊ฐํ๊ณrole
๊ณผaria-*
์์ฑ์ผ๋ก ์ ๊ทผ์ฑ ๋ณด์ฅ๐ก UI ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋น๊ต ๋ถ์
<div>
์<input type="checkbox" role="switch">
๋ฅผ ์ฌ์ฉํ์ฌ ๊ตฌํ<button>
์ ์ฌ์ฉํ์ฌ ๊ตฌํrole
๊ณผaria-*
์์ฑ์ ์ฌ์ฉํ์ฌ ์ ๊ทผ์ฑ ๋ณด์ฅโ๏ธ ๊ตฌํ ๋ฐ ์ค๊ณ ๊ณ ๋ ค์ฌํญ
๐ ํ ์คํธ ๋ฐ ๊ฒํ
๐ ์ถ๊ฐ ์ฐธ๊ณ ์ฌํญ
๐ฏ ์ญํ , ์์ฑ, ์ํ ๋ฐ ํ๊ทธ ์์ฑ
switch
aria-checked
: switch์ ์ํ(on/off)๋ฅผ ๋ํ๋aria-labelledby
,aria-label
: switch์ ๋ ์ด๋ธ์ ์ ๊ณตaria-describedby
: switch์ ๋ํ ์ถ๊ฐ ์ค๋ช ์ ์ ๊ณตchecked
: switch์ ์ํ(on/off)๋ฅผ ๋ํ๋The text was updated successfully, but these errors were encountered: