Ver3.0 ๐ C# ์ ๊ทผ์ฑ๊ณผ ์คํฌ๋ฆฐ ๋ฆฌ๋ ์ง์์ ์ํ ํฌ์ฉ์ ์ ํ๋ฆฌ์ผ์ด์ ๊ฐ๋ฐ ๊ฐ์ด๋

๐ C# ์ ๊ทผ์ฑ๊ณผ ์คํฌ๋ฆฐ ๋ฆฌ๋ ์ง์์ ์ํ ํฌ์ฉ์ ์ ํ๋ฆฌ์ผ์ด์ ๊ฐ๋ฐ ๊ฐ์ด๋
๋ชจ๋๊ฐ ์ฌ์ฉํ ์ ์๋ ์ํํธ์จ์ด, ๊ทธ๊ฒ ์ง์ง ๊ฐ๋ฐ์์ ์ค๋ ฅ์ด์ฃ โจ
๐ฏ ์ ์ ๊ทผ์ฑ์ด ์ค์ํ๊ฐ์?
์์ฆ ๊ฐ๋ฐํ๋ฉด์ "์ ๊ทผ์ฑ"์ด๋ผ๋ ๋จ์ด ์ง์ง ๋ง์ด ๋ค์ด๋ณด์
จ์ฃ ? ๊ทผ๋ฐ ์์งํ ๋งํ๋ฉด ๋ง์ ๊ฐ๋ฐ์๋ค์ด "์ ๊ทธ๊ฑฐ ๋์ค์ ํด๋ ๋๋ ๊ฑฐ ์๋์ผ?" ์ด๋ ๊ฒ ์๊ฐํ๋ ๊ฒฝ์ฐ๊ฐ ๋ง์์ ใ
ใ
ใ
๊ทผ๋ฐ์, ์ ์ธ๊ณ ์ธ๊ตฌ์ ์ฝ 15%๊ฐ ์ด๋ค ํํ๋ก๋ ์ฅ์ ๋ฅผ ๊ฐ์ง๊ณ ์๋ค๋ WHO ํต๊ณ๋ฅผ ๋ณด๋ฉด ์๊ฐ์ด ๋ฌ๋ผ์ง ๊ฑฐ์์. ์ฐ๋ฆฌ๋๋ผ๋ง ํด๋ ์ฝ 260๋ง ๋ช
์ด์์ด ๋ฑ๋ก ์ฅ์ ์ธ์ด๊ณ , ์๊ฐ์ฅ์ ์ธ๋ง ํด๋ 25๋ง ๋ช
์ด ๋์ด์. ๐ฎ
๊ทธ๋ฆฌ๊ณ ์ด๊ฑด ๋จ์ํ "์ฐฉํ ์ผ ํ๊ธฐ"๊ฐ ์๋๋ผ ๋น์ฆ๋์ค์ ์ผ๋ก๋ ์์ฒญ ์ค์ํ ๋ฌธ์ ์์. ์ ๊ทผ์ฑ ์ข์ ์ฑ์ ์ฌ์ฉ์ ๋ฒ ์ด์ค๊ฐ ๋์ด์ง๊ณ , ๋ฒ์ ๋ฆฌ์คํฌ๋ ์ค์ด๋ค๊ณ , ๋ธ๋๋ ์ด๋ฏธ์ง๋ ์ข์์ง๊ฑฐ๋ ์!
๐ ์คํฌ๋ฆฐ ๋ฆฌ๋๊ฐ ๋ญ๋ฐ์?
์คํฌ๋ฆฐ ๋ฆฌ๋๋ ์๊ฐ์ฅ์ ์ธ์ด๋ ์ ์๋ ฅ์๊ฐ ์ปดํจํฐ๋ฅผ ์ฌ์ฉํ ์ ์๊ฒ ํด์ฃผ๋ ๋ณด์กฐ ๊ธฐ์ ์ด์์. ํ๋ฉด์ ํ
์คํธ๋ UI ์์๋ฅผ ์์ฑ์ผ๋ก ์ฝ์ด์ฃผ๋ ํ๋ก๊ทธ๋จ์ด์ฃ .
๋ํ์ ์ธ ์คํฌ๋ฆฐ ๋ฆฌ๋๋ก๋:
โข NVDA (NonVisual Desktop Access) - ๋ฌด๋ฃ, ์คํ์์ค, ์๋์ฐ์ฉ โญ
โข JAWS (Job Access With Speech) - ์ ๋ฃ, ๊ฐ์ฅ ๋ง์ด ์ฐ์, ์๋์ฐ์ฉ ๐ผ
โข Narrator - ์๋์ฐ ๋ด์ฅ, ๋ฌด๋ฃ ๐ช
โข VoiceOver - macOS/iOS ๋ด์ฅ ๐
โข TalkBack - ์๋๋ก์ด๋ ๋ด์ฅ ๐ค
์คํฌ๋ฆฐ ๋ฆฌ๋๋ ๋จ์ํ ํ๋ฉด์ ํ
์คํธ๋ง ์ฝ๋ ๊ฒ ์๋์์. UI ์์์ ์ญํ (Role), ์ํ(State), ์ด๋ฆ(Name)์ ํ์
ํด์ ์ฌ์ฉ์์๊ฒ ์ ๋ฌํด์ค์ผ ํด์.
์๋ฅผ ๋ค์ด ๋ฒํผ์ด ์์ผ๋ฉด:
"๋ก๊ทธ์ธ, ๋ฒํผ" ์ด๋ ๊ฒ ์ฝ์ด์ฃผ๊ณ
์ฒดํฌ๋ฐ์ค๊ฐ ์์ผ๋ฉด:
"์ฝ๊ด ๋์, ์ฒดํฌ๋ฐ์ค, ์ ํ ์ ๋จ" ์ด๋ฐ ์์ผ๋ก ์ฝ์ด์ฃผ๋ ๊ฑฐ์ฃ !
๐จ C# WPF์์์ ์ ๊ทผ์ฑ ๊ตฌํ
๐ฑ AutomationProperties ํ์ฉํ๊ธฐ
WPF์์ ์ ๊ทผ์ฑ์ ๊ตฌํํ๋ ๊ฐ์ฅ ๊ธฐ๋ณธ์ ์ด๊ณ ์ค์ํ ๋ฐฉ๋ฒ์ AutomationProperties๋ฅผ ์ฌ์ฉํ๋ ๊ฑฐ์์. ์ด๊ฒ ์ง์ง ํต์ฌ์ด์์!
XAML์์ UI ์์์ ์ ๊ทผ์ฑ ์ ๋ณด๋ฅผ ์ถ๊ฐํ๋ ๋ฐฉ๋ฒ์ ๋ณผ๊น์?
<Button Content="์ ์ฅ"
AutomationProperties.Name="๋ฌธ์ ์ ์ฅ"
AutomationProperties.HelpText="ํ์ฌ ์์
์ค์ธ ๋ฌธ์๋ฅผ ์ ์ฅํฉ๋๋ค"
Click="SaveButton_Click"/>
<TextBox x:Name="UserNameTextBox"
AutomationProperties.Name="์ฌ์ฉ์ ์ด๋ฆ"
AutomationProperties.LabeledBy="{Binding ElementName=UserNameLabel}"/>
<CheckBox x:Name="AgreeCheckBox"
Content="์ฝ๊ด์ ๋์ํฉ๋๋ค"
AutomationProperties.Name="์๋น์ค ์ฝ๊ด ๋์"
AutomationProperties.HelpText="๊ณ์ํ๋ ค๋ฉด ์๋น์ค ์ฝ๊ด์ ๋์ํด์ผ ํฉ๋๋ค"/>
HelpText - ์ถ๊ฐ ์ค๋ช ์ด๋ ๋์๋ง ๐
LabeledBy - ๋ ์ด๋ธ๊ณผ ์ปจํธ๋กค์ ์ฐ๊ฒฐ ๐
AutomationId - ํ๋ก๊ทธ๋๋ฐ ๋ฐฉ์์ผ๋ก ์์ ์๋ณ ๐
IsRequiredForForm - ํ์ ์ ๋ ฅ ํ๋ ํ์ โ ๏ธ
LiveSetting - ๋์ ์ฝํ ์ธ ์ ๋ฐ์ดํธ ์๋ฆผ ๐ข
๐ฏ ์ฝ๋ ๋นํ์ธ๋์์ ๋์ ์ผ๋ก ์ค์ ํ๊ธฐ
๋ฐํ์์ ์ ๊ทผ์ฑ ์์ฑ์ ๋ณ๊ฒฝํด์ผ ํ ๋๋ ์์ฃ ? C# ์ฝ๋์์๋ ์ฝ๊ฒ ์ค์ ํ ์ ์์ด์!
// ๋ฒํผ์ ์ ๊ทผ์ฑ ์ด๋ฆ ์ค์
AutomationProperties.SetName(myButton, "ํ์ผ ์
๋ก๋");
AutomationProperties.SetHelpText(myButton, "์ต๋ 10MB๊น์ง ์
๋ก๋ ๊ฐ๋ฅํฉ๋๋ค");
// ๋์ ์ผ๋ก ์ํ ๋ณ๊ฒฝ ์๋ฆผ
AutomationProperties.SetLiveSetting(statusLabel, AutomationLiveSetting.Assertive);
// ํ์ ํ๋ ํ์
AutomationProperties.SetIsRequiredForForm(emailTextBox, true);
// ๋ ์ด๋ธ ์ฐ๊ฒฐ
AutomationProperties.SetLabeledBy(passwordBox, passwordLabel);
โจ๏ธ ํค๋ณด๋ ์ ๊ทผ์ฑ ์๋ฒฝ ๊ฐ์ด๋
๋ง์ฐ์ค ์์ด ํค๋ณด๋๋ง์ผ๋ก ๋ชจ๋ ๊ธฐ๋ฅ์ ์ฌ์ฉํ ์ ์์ด์ผ ํด์! ์ด๊ฑด ์๊ฐ์ฅ์ ์ธ๋ฟ๋ง ์๋๋ผ ์ด๋์ฅ์ ๊ฐ ์๋ ๋ถ๋ค, ๊ทธ๋ฆฌ๊ณ ํค๋ณด๋๋ฅผ ์ ํธํ๋ ํ์์ ์ ๋ค์๊ฒ๋ ์์ฒญ ์ค์ํ์ฃ โจ๏ธ
๐ฏ Tab ์์ ์ ์ดํ๊ธฐ
Tab ํค๋ฅผ ๋๋ ์ ๋ ๋ ผ๋ฆฌ์ ์ธ ์์๋ก ํฌ์ปค์ค๊ฐ ์ด๋ํด์ผ ํด์. WPF์์๋ TabIndex์ IsTabStop ์์ฑ์ผ๋ก ์ ์ดํ ์ ์์ด์.
<StackPanel>
<TextBox TabIndex="0" AutomationProperties.Name="์ด๋ฆ"/>
<TextBox TabIndex="1" AutomationProperties.Name="์ด๋ฉ์ผ"/>
<TextBox TabIndex="2" AutomationProperties.Name="์ ํ๋ฒํธ"/>
<Button TabIndex="3" Content="์ ์ถ"/>
<!-- ์ฅ์์ฉ ์์๋ Tab ์์์์ ์ ์ธ -->
<TextBlock IsTabStop="False" Text="์๋ด ๋ฌธ๊ตฌ"/>
</StackPanel>
๐ฅ ํค๋ณด๋ ๋จ์ถํค ๊ตฌํํ๊ธฐ
์ ๊ทผ์ฑ ์ข์ ์ฑ์ ์ฃผ์ ๊ธฐ๋ฅ์ ํค๋ณด๋ ๋จ์ถํค๋ฅผ ์ ๊ณตํด์. WPF์์๋ ์ฌ๋ฌ ๋ฐฉ๋ฒ์ผ๋ก ๊ตฌํํ ์ ์์ฃ !
// ๋ฐฉ๋ฒ 1: AccessKey ์ฌ์ฉ (Alt + ํค)
<Button Content="_์ ์ฅ" Click="SaveButton_Click"/> // Alt+S
<Button Content="์ด๊ธฐ(_O)" Click="OpenButton_Click"/> // Alt+O
// ๋ฐฉ๋ฒ 2: KeyBinding ์ฌ์ฉ
<Window.InputBindings>
<KeyBinding Key="S" Modifiers="Control" Command="{Binding SaveCommand}"/>
<KeyBinding Key="O" Modifiers="Control" Command="{Binding OpenCommand}"/>
<KeyBinding Key="F5" Command="{Binding RefreshCommand}"/>
</Window.InputBindings>
// ๋ฐฉ๋ฒ 3: ์ฝ๋ ๋นํ์ธ๋์์ ์ฒ๋ฆฌ
private void Window_PreviewKeyDown(object sender, KeyEventArgs e)
{
if (e.Key == Key.S && Keyboard.Modifiers == ModifierKeys.Control)
{
SaveDocument();
e.Handled = true;
}
else if (e.Key == Key.Escape)
{
CloseDialog();
e.Handled = true;
}
}
๐๏ธ ํฌ์ปค์ค ํ์ (Focus Indicator)
ํ์ฌ ์ด๋ค ์์์ ํฌ์ปค์ค๊ฐ ์๋์ง ์๊ฐ์ ์ผ๋ก ๋ช ํํ๊ฒ ๋ณด์ฌ์ค์ผ ํด์! ๊ธฐ๋ณธ ํฌ์ปค์ค ์คํ์ผ์ด ๋ง์์ ์ ๋ค๋ฉด ์ปค์คํฐ๋ง์ด์งํ ์ ์์ด์.
<Style TargetType="Button">
<Setter Property="FocusVisualStyle">
<Setter.Value>
<Style>
<Setter Property="Control.Template">
<Setter.Value>
<ControlTemplate>
<Rectangle Stroke="#6b9fb8"
StrokeThickness="3"
StrokeDashArray="2 2"
SnapsToDevicePixels="True"
Margin="-3"/>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Setter.Value>
</Setter>
</Style>
๐ญ WinForms์์์ ์ ๊ทผ์ฑ ๊ตฌํ
WinForms๋ ์ฌ์ ํ ๋ง์ด ์ฐ์ด์์์? ๋ ๊ฑฐ์ ํ๋ก์ ํธ ์ ์ง๋ณด์ํ์๋ ๋ถ๋ค ๋ง์ผ์ค ๊ฑฐ์์ ใ ใ ใ WinForms์์๋ ์ ๊ทผ์ฑ ๊ตฌํ์ ๊ฐ๋ฅํด์!
๐ง AccessibleName๊ณผ AccessibleDescription
WinForms์ ๋ชจ๋ ์ปจํธ๋กค์ AccessibleName, AccessibleDescription, AccessibleRole ์์ฑ์ ๊ฐ์ง๊ณ ์์ด์.
// ๋์์ด๋์์ ์ค์
button1.AccessibleName = "ํ์ผ ์ ์ฅ";
button1.AccessibleDescription = "ํ์ฌ ๋ฌธ์๋ฅผ ์ ์ฅํฉ๋๋ค";
button1.AccessibleRole = AccessibleRole.PushButton;
textBox1.AccessibleName = "์ฌ์ฉ์ ์ด๋ฆ";
textBox1.AccessibleDescription = "๋ก๊ทธ์ธํ ์ฌ์ฉ์ ์ด๋ฆ์ ์
๋ ฅํ์ธ์";
// ์ด๋ฏธ์ง๋ง ์๋ ๋ฒํผ์ ๊ฒฝ์ฐ ํ์!
pictureBox1.AccessibleName = "ํ๋กํ ์ฌ์ง";
pictureBox1.AccessibleDescription = "์ฌ์ฉ์์ ํ๋กํ ์ฌ์ง์
๋๋ค";
pictureBox1.AccessibleRole = AccessibleRole.Graphic;
๐ท๏ธ Label๊ณผ ์ปจํธ๋กค ์ฐ๊ฒฐํ๊ธฐ
WinForms์์๋ Label์ UseMnemonic ์์ฑ์ ํ์ฉํด์ ๋ ์ด๋ธ๊ณผ ์ปจํธ๋กค์ ์ฐ๊ฒฐํ ์ ์์ด์.
// ๋ ์ด๋ธ ์ค์
Label nameLabel = new Label();
nameLabel.Text = "์ด๋ฆ(&N):"; // Alt+N์ผ๋ก ์ ๊ทผ ๊ฐ๋ฅ
nameLabel.UseMnemonic = true;
// ํ
์คํธ๋ฐ์ค ์ค์
TextBox nameTextBox = new TextBox();
nameTextBox.AccessibleName = "์ด๋ฆ";
// ๋ ์ด๋ธ์ ๋ค์ ์ปจํธ๋กค๋ก ํฌ์ปค์ค ์ด๋ ์ค์
// ๋์์ด๋์์ Tab Order๋ฅผ nameLabel -> nameTextBox ์์ผ๋ก ์ค์ ํ๋ฉด
// Alt+N ๋๋ฅผ ๋ ์๋์ผ๋ก nameTextBox๋ก ํฌ์ปค์ค ์ด๋!
์ง์ ๋ง๋ ์ปค์คํ ์ปจํธ๋กค์๋ ์ ๊ทผ์ฑ์ ์ถ๊ฐํด์ผ ํด์! AccessibleObject ํด๋์ค๋ฅผ ์์๋ฐ์์ ๊ตฌํํ ์ ์์ด์.
public class CustomButton : Control
{
protected override AccessibleObject CreateAccessibilityInstance()
{
return new CustomButtonAccessibleObject(this);
}
}
internal class CustomButtonAccessibleObject : ControlAccessibleObject
{
private CustomButton _owner;
public CustomButtonAccessibleObject(CustomButton owner) : base(owner)
{
_owner = owner;
}
public override AccessibleRole Role
{
get { return AccessibleRole.PushButton; }
}
public override string Name
{
get { return _owner.Text; }
}
public override void DoDefaultAction()
{
_owner.PerformClick();
}
}
๐ .NET MAUI์์์ ์ ๊ทผ์ฑ
ํฌ๋ก์ค ํ๋ซํผ ๊ฐ๋ฐํ์๋ ๋ถ๋ค! MAUI์์๋ ์ ๊ทผ์ฑ ์ง์์ด ์ ๋์ด ์์ด์. iOS, Android, Windows, macOS ๋ชจ๋์์ ๋ค์ดํฐ๋ธ ์ ๊ทผ์ฑ ๊ธฐ๋ฅ๊ณผ ํตํฉ๋ผ์ ๐
๐ฑ SemanticProperties ์ฌ์ฉํ๊ธฐ
MAUI์์๋ SemanticProperties๋ฅผ ํตํด ์ ๊ทผ์ฑ ์ ๋ณด๋ฅผ ์ ๊ณตํด์. WPF์ AutomationProperties์ ๋น์ทํ ๊ฐ๋ ์ด์ฃ !
<Button Text="์ ์ฅ"
SemanticProperties.Description="๋ฌธ์๋ฅผ ์ ์ฅํฉ๋๋ค"
SemanticProperties.Hint="๋ณ๊ฒฝ์ฌํญ์ด ์ ์ฅ๋ฉ๋๋ค"
Clicked="OnSaveClicked"/>
<Entry Placeholder="์ด๋ฉ์ผ ์
๋ ฅ"
SemanticProperties.Description="์ด๋ฉ์ผ ์ฃผ์"
SemanticProperties.Hint="example@email.com ํ์์ผ๋ก ์
๋ ฅํ์ธ์"/>
<Image Source="profile.jpg"
SemanticProperties.Description="์ฌ์ฉ์ ํ๋กํ ์ฌ์ง"/>
<!-- ์ฅ์์ฉ ์ด๋ฏธ์ง๋ ์คํฌ๋ฆฐ ๋ฆฌ๋์์ ๋ฌด์ -->
<Image Source="decoration.png"
SemanticProperties.Description=""
AutomationProperties.IsInAccessibleTree="False"/>
๐ฏ ์ฝ๋์์ ๋์ ์ผ๋ก ์ค์ ํ๊ธฐ
// C# ์ฝ๋์์ ์ค์
SemanticProperties.SetDescription(myButton, "ํ์ผ ์
๋ก๋");
SemanticProperties.SetHint(myButton, "์ต๋ 10MB๊น์ง ๊ฐ๋ฅํฉ๋๋ค");
// ํค๋ฉ ๋ ๋ฒจ ์ค์ (ํ๋ฉด ๊ตฌ์กฐ ํ์
์ ์ค์!)
SemanticProperties.SetHeadingLevel(titleLabel, SemanticHeadingLevel.Level1);
SemanticProperties.SetHeadingLevel(subtitleLabel, SemanticHeadingLevel.Level2);
// ์คํฌ๋ฆฐ ๋ฆฌ๋ ์๋ฆผ ๋ฐ์์ํค๊ธฐ
SemanticScreenReader.Announce("ํ์ผ ์
๋ก๋๊ฐ ์๋ฃ๋์์ต๋๋ค");
๐จ ์์ ๋๋น์ ์๊ฐ์ ์ ๊ทผ์ฑ
์คํฌ๋ฆฐ ๋ฆฌ๋๋ง ์ ๊ฒฝ ์ฐ๋ฉด ๋๋ ๊ฑฐ ์๋๋๊ณ ์? ๋ ธ๋ ธ! ์ ์๋ ฅ์๋ ์๋งน/์์ฝ์ ๊ฐ์ง ์ฌ์ฉ์๋ค๋ ๊ณ ๋ คํด์ผ ํด์. ์ ์ธ๊ณ ๋จ์ฑ์ ์ฝ 8%, ์ฌ์ฑ์ ์ฝ 0.5%๊ฐ ์๊ฐ ์ด์์ ๊ฐ์ง๊ณ ์์ด์ ๐จ
๐ ์์ ๋๋น์จ (Contrast Ratio)
WCAG(Web Content Accessibility Guidelines) ๊ธฐ์ค์ ๋ฐ๋ฅด๋ฉด:
โข AA ๋ฑ๊ธ: ์ผ๋ฐ ํ
์คํธ 4.5:1, ํฐ ํ
์คํธ 3:1 โ
โข AAA ๋ฑ๊ธ: ์ผ๋ฐ ํ
์คํธ 7:1, ํฐ ํ
์คํธ 4.5:1 โญ
ํฐ ํ
์คํธ๋ 18pt ์ด์ ๋๋ 14pt ์ด์์ ๊ตต์ ๊ธ์จ๋ฅผ ๋งํด์.
โข Colour Contrast Analyser (๋ฌด๋ฃ ๋ฐ์คํฌํฑ ์ฑ)
โข Adobe Color์ ์ ๊ทผ์ฑ ๋๊ตฌ
โข Visual Studio์ Accessibility Checker ํ์ฅ
๊ฐ๋ฐํ๋ฉด์ ์ด๋ฐ ๋๊ตฌ๋ค๋ก ์์๋ก ์ฒดํฌํ๋ ์ต๊ด์ ๋ค์ด๋ฉด ์ข์์!
// C#์์ ์์ ๋๋น์จ ๊ณ์ฐํ๊ธฐ
public static double CalculateContrastRatio(Color color1, Color color2)
{
double luminance1 = CalculateRelativeLuminance(color1);
double luminance2 = CalculateRelativeLuminance(color2);
double lighter = Math.Max(luminance1, luminance2);
double darker = Math.Min(luminance1, luminance2);
return (lighter + 0.05) / (darker + 0.05);
}
private static double CalculateRelativeLuminance(Color color)
{
double r = GetLinearRGB(color.R / 255.0);
double g = GetLinearRGB(color.G / 255.0);
double b = GetLinearRGB(color.B / 255.0);
return 0.2126 * r + 0.7152 * g + 0.0722 * b;
}
private static double GetLinearRGB(double value)
{
if (value <= 0.03928)
return value / 12.92;
else
return Math.Pow((value + 0.055) / 1.055, 2.4);
}
// ์ฌ์ฉ ์์
Color background = Color.FromRgb(255, 255, 255); // ํฐ์
Color foreground = Color.FromRgb(102, 102, 102); // ํ์
double ratio = CalculateContrastRatio(background, foreground);
if (ratio >= 4.5)
Console.WriteLine($"AA ๊ธฐ์ค ํต๊ณผ! (๋๋น์จ: {ratio:F2}:1)");
else
Console.WriteLine($"๋๋น์จ ๋ถ์กฑ! (ํ์ฌ: {ratio:F2}:1, ํ์: 4.5:1)");
๐ ์์์๋ง ์์กดํ์ง ์๊ธฐ
์ ๋ณด๋ฅผ ์ ๋ฌํ ๋ ์์๋ง ์ฌ์ฉํ๋ฉด ์ ๋ผ์! ์์ด์ฝ, ํ
์คํธ, ํจํด ๋ฑ์ ํจ๊ป ์ฌ์ฉํด์ผ ํด์.
โ ๋์ ์: "๋นจ๊ฐ์ ํญ๋ชฉ์ ์ ํํ์ธ์"
โ
์ข์ ์: "๋๋ํ ์์ด์ฝ์ด ์๋ ์ค๋ฅ ํญ๋ชฉ์ ์ ํํ์ธ์"
โ ๋์ ์: ์ฑ๊ณต์ ์ด๋ก์, ์คํจ๋ ๋นจ๊ฐ์์ผ๋ก๋ง ํ์
โ
์ข์ ์: ์ฑ๊ณต์ ์ฒดํฌ ์์ด์ฝ + ์ด๋ก์, ์คํจ๋ X ์์ด์ฝ + ๋นจ๊ฐ์
// WPF์์ ์ํ๋ฅผ ์์+์์ด์ฝ์ผ๋ก ํ์ํ๊ธฐ
<StackPanel Orientation="Horizontal">
<Path Data="{StaticResource CheckIconGeometry}"
Fill="Green"
Width="16" Height="16"
Margin="0,0,5,0"/>
<TextBlock Text="์
๋ก๋ ์ฑ๊ณต"
Foreground="Green"
AutomationProperties.Name="์
๋ก๋ ์ฑ๊ณต"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
<Path Data="{StaticResource ErrorIconGeometry}"
Fill="Red"
Width="16" Height="16"
Margin="0,0,5,0"/>
<TextBlock Text="์
๋ก๋ ์คํจ"
Foreground="Red"
AutomationProperties.Name="์
๋ก๋ ์คํจ"/>
</StackPanel>
๐ ๋์ ์ฝํ ์ธ ์ ๋ผ์ด๋ธ ๋ฆฌ์
ํ์ด์ง ๋ด์ฉ์ด ๋์ ์ผ๋ก ๋ณ๊ฒฝ๋ ๋ ์คํฌ๋ฆฐ ๋ฆฌ๋ ์ฌ์ฉ์์๊ฒ ์ด๋ป๊ฒ ์๋ ค์ค๊น์? ์ด๊ฒ ์ง์ง ์ค์ํ ๋ฌธ์ ์์! ์ฑํ ์ฑ์ด๋ ์ค์๊ฐ ์๋ฆผ ๊ฐ์ ๊ฑฐ ์๊ฐํด๋ณด์ธ์ ๐ฌ
๐ข WPF์์ ๋ผ์ด๋ธ ๋ฆฌ์ ๊ตฌํํ๊ธฐ
// XAML์์ ๋ผ์ด๋ธ ๋ฆฌ์ ์ค์
<TextBlock x:Name="StatusMessage"
AutomationProperties.LiveSetting="Assertive"
AutomationProperties.Name="์ํ ๋ฉ์์ง"/>
<TextBlock x:Name="NotificationArea"
AutomationProperties.LiveSetting="Polite"
AutomationProperties.Name="์๋ฆผ ์์ญ"/>
// C# ์ฝ๋์์ ๋ฉ์์ง ์
๋ฐ์ดํธ
private void UpdateStatus(string message)
{
StatusMessage.Text = message;
// ์คํฌ๋ฆฐ ๋ฆฌ๋์ ์ฆ์ ์๋ฆผ
AutomationProperties.SetLiveSetting(StatusMessage,
AutomationLiveSetting.Assertive);
}
private void ShowNotification(string notification)
{
NotificationArea.Text = notification;
// ํ์ฌ ์ฝ๊ณ ์๋ ๋ด์ฉ์ด ๋๋ ํ ์๋ฆผ
AutomationProperties.SetLiveSetting(NotificationArea,
AutomationLiveSetting.Polite);
}
Polite - ํ์ฌ ์ฝ๊ณ ์๋ ๋ด์ฉ์ด ๋๋ ํ ์๋ฆผ ๐
Assertive - ์ฆ์ ์ค๋จํ๊ณ ์๋ฆผ (๊ธด๊ธํ ๊ฒฝ์ฐ๋ง!) ๐จ
Assertive๋ ์ ๋ง ์ค์ํ ๊ฒฝ์ฐ์๋ง ์ฌ์ฉํด์ผ ํด์. ์ค๋ฅ ๋ฉ์์ง๋ ์๊ฐ ์ ํ ๊ฒฝ๊ณ ๊ฐ์ ๊ฑฐ์. ๋จ์ฉํ๋ฉด ์ฌ์ฉ์ ๊ฒฝํ์ด ์์ฒญ ๋๋น ์ ธ์ ใ ใ
โฑ๏ธ ํ๋ก๊ทธ๋ ์ค ๋ฐ์ ๋ก๋ฉ ์ํ
๊ธด ์์ ์ ์ํํ ๋ ์งํ ์ํ๋ฅผ ์๋ ค์ฃผ๋ ๊ฒ๋ ์ค์ํด์!
// WPF ํ๋ก๊ทธ๋ ์ค ๋ฐ
<ProgressBar x:Name="UploadProgress"
Minimum="0" Maximum="100" Value="0"
AutomationProperties.Name="ํ์ผ ์
๋ก๋ ์งํ๋ฅ "/>
<TextBlock x:Name="ProgressText"
AutomationProperties.LiveSetting="Polite"/>
// C# ์ฝ๋
private async Task UploadFileAsync(string filePath)
{
var progress = new Progress<int>(percent =>
{
UploadProgress.Value = percent;
ProgressText.Text = $"์
๋ก๋ ์ค... {percent}%";
// 10% ๋จ์๋ก๋ง ์๋ฆผ (๋๋ฌด ์์ฃผ ์๋ฆฌ๋ฉด ์๋๋ฌ์)
if (percent % 10 == 0)
{
AutomationProperties.SetLiveSetting(ProgressText,
AutomationLiveSetting.Polite);
}
});
await UploadWithProgressAsync(filePath, progress);
ProgressText.Text = "์
๋ก๋ ์๋ฃ!";
AutomationProperties.SetLiveSetting(ProgressText,
AutomationLiveSetting.Assertive);
}
// MAUI์์๋ SemanticScreenReader ์ฌ์ฉ
private void UpdateProgress(int percent)
{
if (percent % 25 == 0) // 25% ๋จ์๋ก ์๋ฆผ
{
SemanticScreenReader.Announce($"์
๋ก๋ {percent}% ์๋ฃ");
}
}
๐ฏ ํผ๊ณผ ์ ๋ ฅ ์ ํจ์ฑ ๊ฒ์ฌ
ํผ ์ ๋ ฅ์ ์ ๊ทผ์ฑ์์ ๊ฐ์ฅ ๊น๋ค๋ก์ด ๋ถ๋ถ ์ค ํ๋์์. ์ค๋ฅ ๋ฉ์์ง๋ฅผ ์ ๋๋ก ์ ๋ฌํ์ง ์์ผ๋ฉด ์ฌ์ฉ์๊ฐ ๋ญ๊ฐ ์๋ชป๋๋์ง ์ ์๊ฐ ์๊ฑฐ๋ ์ ๐ฐ
โ ์ ๊ทผ ๊ฐ๋ฅํ ํผ ๋ง๋ค๊ธฐ
// WPF XAML
<StackPanel>
<Label x:Name="EmailLabel"
Content="์ด๋ฉ์ผ ์ฃผ์ (_E):"
Target="{Binding ElementName=EmailTextBox}"/>
<TextBox x:Name="EmailTextBox"
AutomationProperties.LabeledBy="{Binding ElementName=EmailLabel}"
AutomationProperties.IsRequiredForForm="True"
AutomationProperties.HelpText="example@email.com ํ์์ผ๋ก ์
๋ ฅํ์ธ์"/>
<TextBlock x:Name="EmailError"
Foreground="Red"
Visibility="Collapsed"
AutomationProperties.LiveSetting="Assertive"/>
</StackPanel>
// C# ์ ํจ์ฑ ๊ฒ์ฌ
private void ValidateEmail()
{
string email = EmailTextBox.Text;
if (string.IsNullOrWhiteSpace(email))
{
ShowError(EmailError, "์ด๋ฉ์ผ ์ฃผ์๋ฅผ ์
๋ ฅํด์ฃผ์ธ์");
EmailTextBox.Focus();
}
else if (!IsValidEmail(email))
{
ShowError(EmailError, "์ฌ๋ฐ๋ฅธ ์ด๋ฉ์ผ ํ์์ด ์๋๋๋ค");
EmailTextBox.Focus();
}
else
{
HideError(EmailError);
}
}
private void ShowError(TextBlock errorBlock, string message)
{
errorBlock.Text = message;
errorBlock.Visibility = Visibility.Visible;
// ์คํฌ๋ฆฐ ๋ฆฌ๋์ ์ฆ์ ์๋ฆผ
AutomationProperties.SetLiveSetting(errorBlock,
AutomationLiveSetting.Assertive);
}
private void HideError(TextBlock errorBlock)
{
errorBlock.Visibility = Visibility.Collapsed;
AutomationProperties.SetLiveSetting(errorBlock,
AutomationLiveSetting.Off);
}
โข ํด๊ฒฐ ๋ฐฉ๋ฒ ์ ์ํ๊ธฐ: "๋น๋ฐ๋ฒํธ๊ฐ ํ๋ ธ์ต๋๋ค" โ โ "๋น๋ฐ๋ฒํธ๊ฐ ์ผ์นํ์ง ์์ต๋๋ค. 8์ ์ด์ ์ ๋ ฅํด์ฃผ์ธ์" โ
โข ๊ธ์ ์ ์ธ ํค ์ ์งํ๊ธฐ: "์๋ชป๋ ์ ๋ ฅ" โ โ "๋ค์ ํ์ธํด์ฃผ์ธ์" โ
๐จ ์๊ฐ์ ์ค๋ฅ ํ์
์ค๋ฅ๋ฅผ ์์๋ง์ผ๋ก ํ์ํ๋ฉด ์ ๋ผ์! ์์ด์ฝ, ํ ๋๋ฆฌ, ํ ์คํธ๋ฅผ ํจ๊ป ์ฌ์ฉํด์ผ ํด์.
// ์ค๋ฅ ์ํ ์คํ์ผ
<Style x:Key="ErrorTextBoxStyle" TargetType="TextBox">
<Style.Triggers>
<Trigger Property="Validation.HasError" Value="True">
<Setter Property="BorderBrush" Value="Red"/>
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="AutomationProperties.Name"
Value="{Binding RelativeSource={RelativeSource Self},
Path=(Validation.Errors)[0].ErrorContent}"/>
</Trigger>
</Style.Triggers>
</Style>
// ์์ด์ฝ๊ณผ ํจ๊ป ์ค๋ฅ ํ์
<Grid>
<TextBox x:Name="PasswordBox" Style="{StaticResource ErrorTextBoxStyle}"/>
<Path x:Name="ErrorIcon"
Data="{StaticResource ErrorIconGeometry}"
Fill="Red"
Width="16" Height="16"
HorizontalAlignment="Right"
Margin="0,0,10,0"
Visibility="Collapsed"
AutomationProperties.Name="์ค๋ฅ ์์ด์ฝ"/>
</Grid>
๐งช ์ ๊ทผ์ฑ ํ ์คํธ ๋ฐฉ๋ฒ
์ฝ๋ ์์ฑํ์ผ๋ฉด ์ด์ ํ ์คํธํด์ผ์ฃ ! ์ ๊ทผ์ฑ ํ ์คํธ๋ ์๋ํ ๋๊ตฌ์ ์๋ ํ ์คํธ๋ฅผ ๋ณํํด์ผ ํด์ ๐
๐ค ์๋ํ ํ ์คํธ ๋๊ตฌ
๋ง์ดํฌ๋ก์ํํธ์์ ๋ง๋ ๋ฌด๋ฃ ๋๊ตฌ! WPF, WinForms ์ฑ ํ ์คํธ์ ์ต๊ณ ์์.
๋ค์ด๋ก๋: https://accessibilityinsights.io/
2. Inspect.exe (Windows SDK ํฌํจ)
UI Automation ํธ๋ฆฌ๋ฅผ ์ง์ ๋ณผ ์ ์์ด์. ๊ฐ๋ฐ์์ฉ ํ์ ๋๊ตฌ!
3. AccChecker
๋ง์ดํฌ๋ก์ํํธ์ ์ ๊ทผ์ฑ ์ฒด์ปค. ์ข ์ค๋๋์ง๋ง ์ฌ์ ํ ์ ์ฉํด์.
4. NVDA + Speech Viewer
์ค์ ์คํฌ๋ฆฐ ๋ฆฌ๋๋ก ํ ์คํธํ๋ ๊ฒ ๊ฐ์ฅ ์ ํํด์!
๐จโ๐ป ์๋ ํ ์คํธ ์ฒดํฌ๋ฆฌ์คํธ
โก Tab ์์๊ฐ ๋ ผ๋ฆฌ์ ์ธ๊ฐ?
โก ํฌ์ปค์ค ํ์๊ฐ ๋ช ํํ๊ฐ?
โก Shift+Tab์ผ๋ก ์ญ๋ฐฉํฅ ์ด๋์ด ๋๋๊ฐ?
โก Enter/Space๋ก ๋ฒํผ ํ์ฑํ๊ฐ ๋๋๊ฐ?
โก Esc๋ก ๋ค์ด์ผ๋ก๊ทธ ๋ซ๊ธฐ๊ฐ ๋๋๊ฐ?
โ ์คํฌ๋ฆฐ ๋ฆฌ๋ ํ ์คํธ
โก ๋ชจ๋ UI ์์์ ์ ์ ํ ์ด๋ฆ์ด ์๋๊ฐ?
โก ๋ฒํผ, ์ฒดํฌ๋ฐ์ค ๋ฑ์ ์ญํ ์ด ์ ํํ ์ ๋ฌ๋๋๊ฐ?
โก ํผ ๋ ์ด๋ธ์ด ์ ๋ ฅ ํ๋์ ์ฐ๊ฒฐ๋์ด ์๋๊ฐ?
โก ์ค๋ฅ ๋ฉ์์ง๊ฐ ์ฆ์ ์ฝํ๋๊ฐ?
โก ๋์ ์ฝํ ์ธ ๋ณ๊ฒฝ์ด ์๋ฆผ๋๋๊ฐ?
โก ์ด๋ฏธ์ง์ ๋์ฒด ํ ์คํธ๊ฐ ์๋๊ฐ?
โ ์๊ฐ์ ํ ์คํธ
โก ํ ์คํธ์ ๋ฐฐ๊ฒฝ์ ๋๋น์จ์ด 4.5:1 ์ด์์ธ๊ฐ?
โก ์์๋ง์ผ๋ก ์ ๋ณด๋ฅผ ์ ๋ฌํ์ง ์๋๊ฐ?
โก 200% ํ๋ํด๋ ์ฌ์ฉ ๊ฐ๋ฅํ๊ฐ?
โก ๊ณ ๋๋น ๋ชจ๋์์๋ ์ ๋ณด์ด๋๊ฐ?
// C#์ผ๋ก ์๋ํ ํ
์คํธ ์์ฑํ๊ธฐ (UI Automation ์ฌ์ฉ)
using System.Windows.Automation;
public class AccessibilityTests
{
[Test]
public void Button_Should_Have_Name()
{
// ์ฑ ์คํ
var app = Application.Launch("MyApp.exe");
// ๋ฒํผ ์ฐพ๊ธฐ
var button = app.FindFirst(TreeScope.Descendants,
new PropertyCondition(AutomationElement.AutomationIdProperty, "SaveButton"));
// ์ด๋ฆ ํ์ธ
string name = button.Current.Name;
Assert.IsNotNullOrEmpty(name, "๋ฒํผ์ ์ด๋ฆ์ด ์์ต๋๋ค!");
// ์ญํ ํ์ธ
Assert.AreEqual(ControlType.Button, button.Current.ControlType);
}
[Test]
public void TextBox_Should_Have_Label()
{
var textBox = FindElement("EmailTextBox");
// LabeledBy ์์ฑ ํ์ธ
var labelElement = textBox.GetCurrentPropertyValue(
AutomationElement.LabeledByProperty) as AutomationElement;
Assert.IsNotNull(labelElement, "ํ
์คํธ๋ฐ์ค์ ๋ ์ด๋ธ์ด ์ฐ๊ฒฐ๋์ง ์์์ต๋๋ค!");
}
[Test]
public void All_Interactive_Elements_Should_Be_Keyboard_Accessible()
{
var allButtons = FindAllElements(ControlType.Button);
foreach (var button in allButtons)
{
// ํค๋ณด๋ ํฌ์ปค์ค ๊ฐ๋ฅ ์ฌ๋ถ ํ์ธ
bool isKeyboardFocusable = (bool)button.GetCurrentPropertyValue(
AutomationElement.IsKeyboardFocusableProperty);
Assert.IsTrue(isKeyboardFocusable,
$"๋ฒํผ '{button.Current.Name}'์ด ํค๋ณด๋๋ก ์ ๊ทผ ๋ถ๊ฐ๋ฅํฉ๋๋ค!");
}
}
}
๐ ์ค์ ์์ : ์ ๊ทผ ๊ฐ๋ฅํ ๋ก๊ทธ์ธ ํผ
์ด๋ก ์ ์ถฉ๋ถํ ๋ดค์ผ๋ ์ด์ ์ค์ ์์ ๋ฅผ ๋ง๋ค์ด๋ณผ๊น์? ์์ ํ ์ ๊ทผ ๊ฐ๋ฅํ ๋ก๊ทธ์ธ ํผ์ WPF๋ก ๊ตฌํํด๋ณด๊ฒ ์ต๋๋ค! ๐
// LoginWindow.xaml
<Window x:Class="AccessibleApp.LoginWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="๋ก๊ทธ์ธ" Height="400" Width="500"
AutomationProperties.Name="๋ก๊ทธ์ธ ์ฐฝ">
<Window.InputBindings>
<KeyBinding Key="L" Modifiers="Alt" Command="{Binding FocusUsernameCommand}"/>
<KeyBinding Key="P" Modifiers="Alt" Command="{Binding FocusPasswordCommand}"/>
<KeyBinding Key="Enter" Command="{Binding LoginCommand}"/>
</Window.InputBindings>
<Grid Margin="40">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="20"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="20"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="30"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="20"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<!-- ์ ๋ชฉ -->
<TextBlock Grid.Row="0"
Text="๋ก๊ทธ์ธ"
FontSize="28"
FontWeight="Bold"
AutomationProperties.HeadingLevel="Level1"
AutomationProperties.Name="๋ก๊ทธ์ธ ํ์ด์ง ์ ๋ชฉ"/>
<!-- ์ฌ์ฉ์ ์ด๋ฆ -->
<Label Grid.Row="2"
x:Name="UsernameLabel"
Content="์ฌ์ฉ์ ์ด๋ฆ(_L):"
Target="{Binding ElementName=UsernameTextBox}"/>
<TextBox Grid.Row="3"
x:Name="UsernameTextBox"
TabIndex="0"
AutomationProperties.LabeledBy="{Binding ElementName=UsernameLabel}"
AutomationProperties.IsRequiredForForm="True"
AutomationProperties.HelpText="๋ก๊ทธ์ธํ ์ฌ์ฉ์ ์ด๋ฆ์ ์
๋ ฅํ์ธ์"/>
<!-- ๋น๋ฐ๋ฒํธ -->
<Label Grid.Row="5"
x:Name="PasswordLabel"
Content="๋น๋ฐ๋ฒํธ(_P):"
Target="{Binding ElementName=PasswordBox}"/>
<PasswordBox Grid.Row="6"
x:Name="PasswordBox"
TabIndex="1"
AutomationProperties.LabeledBy="{Binding ElementName=PasswordLabel}"
AutomationProperties.IsRequiredForForm="True"
AutomationProperties.HelpText="๋น๋ฐ๋ฒํธ๋ฅผ ์
๋ ฅํ์ธ์"/>
<!-- ์ค๋ฅ ๋ฉ์์ง -->
<Border Grid.Row="8"
x:Name="ErrorBorder"
Background="#ffebee"
BorderBrush="#f44336"
BorderThickness="2"
CornerRadius="5"
Padding="10"
Visibility="Collapsed">
<StackPanel Orientation="Horizontal">
<Path Data="M12,2 L12,14 M12,16 L12,18"
Stroke="#f44336"
StrokeThickness="2"
Width="20" Height="20"
Margin="0,0,10,0"
AutomationProperties.Name="์ค๋ฅ ์์ด์ฝ"/>
<TextBlock x:Name="ErrorMessage"
Foreground="#c62828"
TextWrapping="Wrap"
AutomationProperties.LiveSetting="Assertive"/>
</StackPanel>
</Border>
<!-- ๋ก๊ทธ์ธ ๋ฒํผ -->
<Button Grid.Row="10"
x:Name="LoginButton"
Content="๋ก๊ทธ์ธ"
TabIndex="2"
Height="40"
FontSize="16"
AutomationProperties.Name="๋ก๊ทธ์ธ"
AutomationProperties.HelpText="Enter ํค๋ฅผ ๋๋ฌ ๋ก๊ทธ์ธํ ์ ์์ต๋๋ค"
Click="LoginButton_Click"/>
</Grid>
</Window>
// LoginWindow.xaml.cs
using System.Windows;
using System.Windows.Automation.Peers;
using System.Windows.Automation.Provider;
namespace AccessibleApp
{
public partial class LoginWindow : Window
{
public LoginWindow()
{
InitializeComponent();
// ์ฐฝ์ด ์ด๋ฆด ๋ ์ฒซ ๋ฒ์งธ ์
๋ ฅ ํ๋์ ํฌ์ปค์ค
Loaded += (s, e) => UsernameTextBox.Focus();
}
private async void LoginButton_Click(object sender, RoutedEventArgs e)
{
// ์
๋ ฅ ๊ฒ์ฆ
if (!ValidateInput())
return;
// ๋ก๊ทธ์ธ ์๋ ์ค ํ์
ShowLoadingState();
try
{
string username = UsernameTextBox.Text;
string password = PasswordBox.Password;
// ์ค์ ๋ก๊ทธ์ธ ๋ก์ง
bool success = await AuthService.LoginAsync(username, password);
if (success)
{
AnnounceSuccess("๋ก๊ทธ์ธ ์ฑ๊ณต!");
// ๋ฉ์ธ ์ฐฝ์ผ๋ก ์ด๋
var mainWindow = new MainWindow();
mainWindow.Show();
this.Close();
}
else
{
ShowError("์ฌ์ฉ์ ์ด๋ฆ ๋๋ ๋น๋ฐ๋ฒํธ๊ฐ ์ฌ๋ฐ๋ฅด์ง ์์ต๋๋ค.");
UsernameTextBox.Focus();
}
}
catch (Exception ex)
{
ShowError($"๋ก๊ทธ์ธ ์ค ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค: {ex.Message}");
}
finally
{
HideLoadingState();
}
}
private bool ValidateInput()
{
if (string.IsNullOrWhiteSpace(UsernameTextBox.Text))
{
ShowError("์ฌ์ฉ์ ์ด๋ฆ์ ์
๋ ฅํด์ฃผ์ธ์.");
UsernameTextBox.Focus();
return false;
}
if (string.IsNullOrWhiteSpace(PasswordBox.Password))
{
ShowError("๋น๋ฐ๋ฒํธ๋ฅผ ์
๋ ฅํด์ฃผ์ธ์.");
PasswordBox.Focus();
return false;
}
if (PasswordBox.Password.Length < 8)
{
ShowError("๋น๋ฐ๋ฒํธ๋ 8์ ์ด์์ด์ด์ผ ํฉ๋๋ค.");
PasswordBox.Focus();
return false;
}
return true;
}
private void ShowError(string message)
{
ErrorMessage.Text = message;
ErrorBorder.Visibility = Visibility.Visible;
// ์คํฌ๋ฆฐ ๋ฆฌ๋์ ์ฆ์ ์๋ฆผ
AutomationProperties.SetLiveSetting(ErrorMessage,
AutomationLiveSetting.Assertive);
// ์๊ฐ์ ์ผ๋ก๋ ๊ฐ์กฐ
ErrorBorder.Focus();
}
private void HideError()
{
ErrorBorder.Visibility = Visibility.Collapsed;
AutomationProperties.SetLiveSetting(ErrorMessage,
AutomationLiveSetting.Off);
}
private void ShowLoadingState()
{
LoginButton.IsEnabled = false;
LoginButton.Content = "๋ก๊ทธ์ธ ์ค...";
// ์คํฌ๋ฆฐ ๋ฆฌ๋์ ์๋ฆผ
AutomationProperties.SetName(LoginButton, "๋ก๊ทธ์ธ ์ค์
๋๋ค. ์ ์๋ง ๊ธฐ๋ค๋ ค์ฃผ์ธ์.");
}
private void HideLoadingState()
{
LoginButton.IsEnabled = true;
LoginButton.Content = "๋ก๊ทธ์ธ";
AutomationProperties.SetName(LoginButton, "๋ก๊ทธ์ธ");
}
private void AnnounceSuccess(string message)
{
// ์์ TextBlock์ ๋ง๋ค์ด์ ์คํฌ๋ฆฐ ๋ฆฌ๋์ ์๋ฆผ
var announcement = new TextBlock
{
Text = message,
Visibility = Visibility.Collapsed
};
AutomationProperties.SetLiveSetting(announcement,
AutomationLiveSetting.Assertive);
((Grid)this.Content).Children.Add(announcement);
// ์๋ฆผ ํ ์ ๊ฑฐ
Dispatcher.BeginInvoke(new Action(() =>
{
((Grid)this.Content).Children.Remove(announcement);
}), System.Windows.Threading.DispatcherPriority.Background);
}
}
}
- โ ๋ชจ๋ ์ ๋ ฅ ํ๋์ ๋ช ํํ ๋ ์ด๋ธ ์ฐ๊ฒฐ
- โ Tab ์์๊ฐ ๋ ผ๋ฆฌ์ (์ฌ์ฉ์๋ช โ ๋น๋ฐ๋ฒํธ โ ๋ฒํผ)
- โ Alt+L, Alt+P ๋จ์ถํค๋ก ๋น ๋ฅธ ์ ๊ทผ
- โ Enter ํค๋ก ํผ ์ ์ถ ๊ฐ๋ฅ
- โ ์ค๋ฅ ๋ฉ์์ง๊ฐ ์๊ฐ์ + ์ฒญ๊ฐ์ ์ผ๋ก ์ ๋ฌ
- โ ์ค๋ฅ ๋ฐ์ ์ ํด๋น ํ๋๋ก ์๋ ํฌ์ปค์ค
- โ ๋ก๋ฉ ์ํ๋ฅผ ์คํฌ๋ฆฐ ๋ฆฌ๋์ ์๋ฆผ
- โ ํ์ ์ ๋ ฅ ํ๋ ํ์
- โ ๋์๋ง ํ ์คํธ ์ ๊ณต
๐ ๊ณ ๊ธ ์ ๊ทผ์ฑ ํจํด
๐ญ ์ปค์คํ ์ปจํธ๋กค ์ ๊ทผ์ฑ
์ง์ ๋ง๋ ์ปค์คํ ์ปจํธ๋กค์๋ ์ ๊ทผ์ฑ์ ์ถ๊ฐํด์ผ ํด์! WPF์์๋ AutomationPeer๋ฅผ ์์๋ฐ์์ ๊ตฌํํด์.
// ์ปค์คํ
๋ณ์ ์ปจํธ๋กค
public class StarRating : Control
{
public static readonly DependencyProperty RatingProperty =
DependencyProperty.Register("Rating", typeof(int), typeof(StarRating),
new PropertyMetadata(0, OnRatingChanged));
public int Rating
{
get { return (int)GetValue(RatingProperty); }
set { SetValue(RatingProperty, value); }
}
// AutomationPeer ์์ฑ
protected override AutomationPeer OnCreateAutomationPeer()
{
return new StarRatingAutomationPeer(this);
}
private static void OnRatingChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var control = (StarRating)d;
// ๊ฐ ๋ณ๊ฒฝ์ ์คํฌ๋ฆฐ ๋ฆฌ๋์ ์๋ฆผ
if (AutomationPeer.ListenerExists(AutomationEvents.PropertyChanged))
{
var peer = UIElementAutomationPeer.FromElement(control);
if (peer != null)
{
peer.RaisePropertyChangedEvent(
RangeValuePatternIdentifiers.ValueProperty,
e.OldValue, e.NewValue);
}
}
}
}
// AutomationPeer ๊ตฌํ
public class StarRatingAutomationPeer : FrameworkElementAutomationPeer,
IRangeValueProvider
{
private StarRating OwnerControl => (StarRating)Owner;
public StarRatingAutomationPeer(StarRating owner) : base(owner)
{
}
protected override string GetClassNameCore()
{
return "StarRating";
}
protected override AutomationControlType GetAutomationControlTypeCore()
{
return AutomationControlType.Slider;
}
public override object GetPattern(PatternInterface patternInterface)
{
if (patternInterface == PatternInterface.RangeValue)
return this;
return base.GetPattern(patternInterface);
}
// IRangeValueProvider ๊ตฌํ
public double Value => OwnerControl.Rating;
public double Minimum => 0;
public double Maximum => 5;
public double SmallChange => 1;
public double LargeChange => 1;
public bool IsReadOnly => false;
public void SetValue(double value)
{
if (!IsReadOnly && value >= Minimum && value <= Maximum)
{
OwnerControl.Rating = (int)value;
}
}
protected override string GetNameCore()
{
return $"๋ณ์ {OwnerControl.Rating}์ , 5์ ๋ง์ ";
}
}
๐จ ๋ค์ด์ผ๋ก๊ทธ์ ๋ชจ๋ฌ ์ ๊ทผ์ฑ
๋ค์ด์ผ๋ก๊ทธ๊ฐ ์ด๋ฆด ๋ ํฌ์ปค์ค ๊ด๋ฆฌ๊ฐ ์์ฒญ ์ค์ํด์! ์ฌ์ฉ์๊ฐ ๋ค์ด์ผ๋ก๊ทธ ๋ฐ์ผ๋ก ๋น ์ ธ๋๊ฐ์ง ๋ชปํ๊ฒ ํด์ผ ํ์ฃ .
public class AccessibleDialog : Window
{
private UIElement _previousFocus;
public AccessibleDialog()
{
// ๋ค์ด์ผ๋ก๊ทธ ์์ฑ ์ค์
WindowStyle = WindowStyle.None;
ResizeMode = ResizeMode.NoResize;
ShowInTaskbar = false;
// ์ ๊ทผ์ฑ ์์ฑ
AutomationProperties.SetName(this, "ํ์ธ ๋ค์ด์ผ๋ก๊ทธ");
AutomationProperties.SetLiveSetting(this, AutomationLiveSetting.Assertive);
// ์ด๋ฒคํธ ํธ๋ค๋ฌ
Loaded += OnDialogLoaded;
Closing += OnDialogClosing;
PreviewKeyDown += OnPreviewKeyDown;
}
private void OnDialogLoaded(object sender, RoutedEventArgs e)
{
// ์ด์ ํฌ์ปค์ค ์ ์ฅ
_previousFocus = Keyboard.FocusedElement as UIElement;
// ๋ค์ด์ผ๋ก๊ทธ์ ์ฒซ ๋ฒ์งธ ํฌ์ปค์ค ๊ฐ๋ฅํ ์์๋ก ์ด๋
MoveFocus(new TraversalRequest(FocusNavigationDirection.First));
// ์คํฌ๋ฆฐ ๋ฆฌ๋์ ๋ค์ด์ผ๋ก๊ทธ ์ด๋ฆผ ์๋ฆผ
AnnounceDialogOpened();
}
private void OnDialogClosing(object sender, System.ComponentModel.CancelEventArgs e)
{
// ์ด์ ํฌ์ปค์ค๋ก ๋ณต์
_previousFocus?.Focus();
}
private void OnPreviewKeyDown(object sender, KeyEventArgs e)
{
// Esc ํค๋ก ๋ซ๊ธฐ
if (e.Key == Key.Escape)
{
DialogResult = false;
Close();
e.Handled = true;
}
// Tab ํค ํฌ์ปค์ค ํธ๋ฉ (๋ค์ด์ผ๋ก๊ทธ ๋ด๋ถ์๋ง ํฌ์ปค์ค ์ ์ง)
if (e.Key == Key.Tab)
{
var focusedElement = Keyboard.FocusedElement as UIElement;
var direction = (e.KeyboardDevice.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift
? FocusNavigationDirection.Previous
: FocusNavigationDirection.Next;
var request = new TraversalRequest(direction);
var nextElement = focusedElement?.PredictFocus(direction) as UIElement;
// ๋ค์ด์ผ๋ก๊ทธ ๋ฐ์ผ๋ก ๋๊ฐ๋ ค๊ณ ํ๋ฉด ์ฒ์/๋์ผ๋ก ์ํ
if (nextElement == null || !IsDescendantOf(nextElement, this))
{
direction = direction == FocusNavigationDirection.Next
? FocusNavigationDirection.First
: FocusNavigationDirection.Last;
MoveFocus(new TraversalRequest(direction));
e.Handled = true;
}
}
}
private void AnnounceDialogOpened()
{
// ๋ค์ด์ผ๋ก๊ทธ ์ ๋ชฉ๊ณผ ๋ด์ฉ์ ์คํฌ๋ฆฐ ๋ฆฌ๋์ ์๋ฆผ
var title = AutomationProperties.GetName(this);
var message = GetDialogMessage();
SemanticScreenReader.Announce($"{title}. {message}");
}
private string GetDialogMessage()
{
// ๋ค์ด์ผ๋ก๊ทธ ๋ด์ฉ ์ถ์ถ ๋ก์ง
return "ํ์ธ ๋๋ ์ทจ์๋ฅผ ์ ํํ์ธ์.";
}
private bool IsDescendantOf(DependencyObject child, DependencyObject parent)
{
var current = child;
while (current != null)
{
if (current == parent)
return true;
current = VisualTreeHelper.GetParent(current);
}
return false;
}
}
โข ํฌ์ปค์ค๊ฐ ๋ค์ด์ผ๋ก๊ทธ ๋ฐ์ผ๋ก ๋๊ฐ์ง ์๋๋ก ํธ๋ฉํด์ผ ํด์
โข Esc ํค๋ก ๋ซ์ ์ ์์ด์ผ ํด์
โข ๋ค์ด์ผ๋ก๊ทธ๊ฐ ๋ซํ๋ฉด ์ด์ ํฌ์ปค์ค ์์น๋ก ๋์๊ฐ์ผ ํด์
โข ์คํฌ๋ฆฐ ๋ฆฌ๋์ ๋ค์ด์ผ๋ก๊ทธ ์ด๋ฆผ/๋ซํ์ ์๋ ค์ผ ํด์
๐ ์ ๊ทผ์ฑ ์ฒดํฌ๋ฆฌ์คํธ์ ๋ฒ ์คํธ ํ๋ํฐ์ค
โก ์์ ๋๋น์จ 4.5:1 ์ด์ ํ์ธ
โก ์์๋ง์ผ๋ก ์ ๋ณด ์ ๋ฌํ์ง ์๊ธฐ
โก ์ถฉ๋ถํ ํฐ์น/ํด๋ฆญ ์์ญ (์ต์ 44x44px)
โก ๋ช ํํ ํฌ์ปค์ค ํ์ ๋์์ธ
โก ์ผ๊ด๋ ๋ค๋น๊ฒ์ด์ ๊ตฌ์กฐ
๐ป ๊ฐ๋ฐ ๋จ๊ณ
โก ๋ชจ๋ UI ์์์ AutomationProperties.Name ์ค์
โก ํค๋ณด๋๋ง์ผ๋ก ๋ชจ๋ ๊ธฐ๋ฅ ์ ๊ทผ ๊ฐ๋ฅ
โก Tab ์์๊ฐ ๋ ผ๋ฆฌ์
โก ํผ ๋ ์ด๋ธ๊ณผ ์ ๋ ฅ ํ๋ ์ฐ๊ฒฐ
โก ์ค๋ฅ ๋ฉ์์ง๋ฅผ LiveSetting์ผ๋ก ์๋ฆผ
โก ๋์ ์ฝํ ์ธ ๋ณ๊ฒฝ ์๋ฆผ
โก ์ด๋ฏธ์ง์ ๋์ฒด ํ ์คํธ ์ ๊ณต
โก ์ปค์คํ ์ปจํธ๋กค์ AutomationPeer ๊ตฌํ
๐งช ํ ์คํธ ๋จ๊ณ
โก Accessibility Insights๋ก ์๋ ๊ฒ์ฌ
โก ํค๋ณด๋๋ง์ผ๋ก ์ ์ฒด ๊ธฐ๋ฅ ํ ์คํธ
โก NVDA/Narrator๋ก ์คํฌ๋ฆฐ ๋ฆฌ๋ ํ ์คํธ
โก ๊ณ ๋๋น ๋ชจ๋์์ ํ ์คํธ
โก 200% ํ๋์์ ํ ์คํธ
โก ์ค์ ์ฌ์ฉ์ ํ ์คํธ (๊ฐ๋ฅํ๋ฉด)
๐ ๋ฌธ์ํ ๋จ๊ณ
โก ํค๋ณด๋ ๋จ์ถํค ๋ชฉ๋ก ์์ฑ
โก ์ ๊ทผ์ฑ ๊ธฐ๋ฅ ์ฌ์ฉ ๊ฐ์ด๋
โก ์๋ ค์ง ์ ํ์ฌํญ ๋ฌธ์ํ
โก ํผ๋๋ฐฑ ์ฑ๋ ์ ๊ณต
๐ฏ ์ผ๋ฐ์ ์ธ ์ค์์ ํด๊ฒฐ์ฑ
| โ ํํ ์ค์ | โ ์ฌ๋ฐ๋ฅธ ๋ฐฉ๋ฒ |
|---|---|
| ์์ด์ฝ ๋ฒํผ์ ํ ์คํธ ์์ | AutomationProperties.Name์ผ๋ก ์ค๋ช ์ถ๊ฐ |
| placeholder๋ง์ผ๋ก ๋ ์ด๋ธ ๋์ฒด | ๋ช ์์ ์ธ Label ์์ ์ฌ์ฉ |
| ์์๋ง์ผ๋ก ์ํ ํ์ | ์์ด์ฝ + ํ ์คํธ + ์์ ์กฐํฉ |
| ๋ง์ฐ์ค ์ด๋ฒคํธ๋ง ์ฒ๋ฆฌ | ํค๋ณด๋ ์ด๋ฒคํธ๋ ํจ๊ป ์ฒ๋ฆฌ |
| ํฌ์ปค์ค ํ์ ์ ๊ฑฐ | ๋ช ํํ ์ปค์คํ ํฌ์ปค์ค ์คํ์ผ ์ ๊ณต |
| ์๋ ์ฌ์๋๋ ๋ฏธ๋์ด | ์ฌ์ฉ์๊ฐ ์ ์ดํ ์ ์๊ฒ ํจ |
| ์๊ฐ ์ ํ์ด ์๋ ์์ | ์๊ฐ ์ฐ์ฅ ์ต์ ์ ๊ณต |
| ๋ณต์กํ CAPTCHA | ๋์ฒด ์ธ์ฆ ๋ฐฉ๋ฒ ์ ๊ณต |
๐ ๊ตญ์ ํ์ค๊ณผ ๋ฒ์ ์๊ตฌ์ฌํญ
์ ๊ทผ์ฑ์ ์ด์ ์ ํ์ด ์๋๋ผ ํ์์์! ์ฌ๋ฌ ๋๋ผ์์ ๋ฒ์ผ๋ก ๊ท์ ํ๊ณ ์๊ฑฐ๋ ์ โ๏ธ
W3C์์ ์ ์ ํ ์น ์ ๊ทผ์ฑ ๊ตญ์ ํ์ค. ๋ฐ์คํฌํฑ ์ฑ์๋ ๋ง์ด ์ ์ฉ๋ผ์.
โข Level A: ์ต์ ์๊ตฌ์ฌํญ
โข Level AA: ๊ถ์ฅ ์์ค (๋๋ถ๋ถ์ ๋ฒ๊ท๊ฐ ์๊ตฌ)
โข Level AAA: ์ต๊ณ ์์ค
Section 508 (๋ฏธ๊ตญ) ๐บ๐ธ
๋ฏธ๊ตญ ์ฐ๋ฐฉ์ ๋ถ ๊ธฐ๊ด์ด ๊ตฌ๋งคํ๋ ๋ชจ๋ IT ์ ํ์ ์ ๊ทผ์ฑ ์๊ตฌ์ฌํญ
EN 301 549 (์ ๋ฝ) ๐ช๐บ
์ ๋ฝ์ฐํฉ์ ICT ์ ํ ๋ฐ ์๋น์ค ์ ๊ทผ์ฑ ํ์ค
์ฅ์ ์ธ์ฐจ๋ณ๊ธ์ง๋ฒ (ํ๊ตญ) ๐ฐ๐ท
๊ณต๊ณต๊ธฐ๊ด ์น์ฌ์ดํธ ๋ฐ ์ฑ์ ์ ๊ทผ์ฑ ์๋ฌดํ
ํ๊ตญํ ์น ์ฝํ ์ธ ์ ๊ทผ์ฑ ์ง์นจ (KWCAG) ์ค์ ํ์
ํนํ ๊ณต๊ณต๊ธฐ๊ด์ด๋ ๊ธ์ต๊ถ ํ๋ก์ ํธ๋ฅผ ํ์๋ ๋ถ๋ค์ ์ ๊ทผ์ฑ ์ธ์ฆ์ ๋ฐ์์ผ ํ๋ ๊ฒฝ์ฐ๊ฐ ๋ง์์. ๋ฏธ๋ฆฌ๋ฏธ๋ฆฌ ์ค๋นํ๋ ๊ฒ ๋์ค์ ๊ณ ์ ์ ํด์ ใ ใ ใ
โข ๋ ๋ง์ ์ฌ์ฉ์์๊ฒ ๋๋ฌ (์์ฅ ํ๋) ๐
โข SEO ๊ฐ์ (๊ฒ์ ์์ง ์ต์ ํ) ๐
โข ๋ฒ์ ๋ฆฌ์คํฌ ๊ฐ์ โ๏ธ
โข ๋ธ๋๋ ์ด๋ฏธ์ง ํฅ์ โจ
โข ์ ๋ฐ์ ์ธ ์ฌ์ฉ์ฑ ๊ฐ์ (๋ชจ๋ ์ฌ์ฉ์์๊ฒ ์ด๋) ๐ฏ
"์ ๊ทผ์ฑ์ ๋น์ฉ์ด ์๋๋ผ ํฌ์"๋ผ๋ ๋ง์ด ์์ด์. ์ฒ์๋ถํฐ ์ ๊ทผ์ฑ์ ๊ณ ๋ คํ๋ฉด ๋์ค์ ๋ฆฌํฉํ ๋งํ๋ ๊ฒ๋ณด๋ค ํจ์ฌ ํจ์จ์ ์ด์์!
๐ ์ค๋ฌด์์ ์ ๊ทผ์ฑ ๋์ ํ๊ธฐ
"์ข์ ๊ฑด ์๊ฒ ๋๋ฐ ์ฐ๋ฆฌ ํ์์ ์ด๋ป๊ฒ ์์ํ์ง?" ์ด๋ฐ ๊ณ ๋ฏผ ๋ง์ผ์์ฃ ? ์ค๋ฌด์ ์ ๊ทผ์ฑ์ ๋์ ํ๋ ํ์ค์ ์ธ ๋ฐฉ๋ฒ์ ์๋ ค๋๋ฆด๊ฒ์! ๐ช
๐ ๋จ๊ณ๋ณ ๋์ ์ ๋ต
โข ์คํฌ๋ฆฐ ๋ฆฌ๋ ์ฒดํํด๋ณด๊ธฐ
โข ์ ๊ทผ์ฑ ์ข์ ์ฑ vs ๋์ ์ฑ ๋น๊ต
โข ๋ฒ์ ์๊ตฌ์ฌํญ ๊ณต์
2๋จ๊ณ: ํํฉ ํ์ (1์ฃผ) ๐
โข ๊ธฐ์กด ์ฑ ์ ๊ทผ์ฑ ๊ฐ์ฌ
โข Accessibility Insights๋ก ์๋ ๊ฒ์ฌ
โข ์ฃผ์ ๋ฌธ์ ์ ๋ฆฌ์คํธ์
โข ์ฐ์ ์์ ๊ฒฐ์
3๋จ๊ณ: ๊ฐ์ด๋๋ผ์ธ ์๋ฆฝ (1์ฃผ) ๐
โข ํ ์ฝ๋ฉ ์ปจ๋ฒค์ ์ ์ ๊ทผ์ฑ ๊ท์น ์ถ๊ฐ
โข ์ปดํฌ๋ํธ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ์ ๊ทผ์ฑ ์์ ์ถ๊ฐ
โข PR ์ฒดํฌ๋ฆฌ์คํธ์ ์ ๊ทผ์ฑ ํญ๋ชฉ ํฌํจ
โข ๋์์ธ ์์คํ ์ ์ ๊ทผ์ฑ ๊ฐ์ด๋ ํตํฉ
4๋จ๊ณ: ์ ์ง์ ๊ฐ์ (์ง์์ ) ๐
โข ์ ๊ธฐ๋ฅ์ ์ฒ์๋ถํฐ ์ ๊ทผ์ฑ ๊ณ ๋ ค
โข ๊ธฐ์กด ๊ธฐ๋ฅ์ ์ฐ์ ์์์ ๋ฐ๋ผ ๊ฐ์
โข ๋งค ์คํ๋ฆฐํธ๋ง๋ค ์ ๊ทผ์ฑ ๊ฐ์ ์์ ํฌํจ
โข ์ ๊ธฐ์ ์ธ ์ ๊ทผ์ฑ ํ ์คํธ
5๋จ๊ณ: ์๋ํ (2-3์ฃผ) ๐ค
โข CI/CD ํ์ดํ๋ผ์ธ์ ์ ๊ทผ์ฑ ํ ์คํธ ํตํฉ
โข ์๋ํ๋ ์ ๊ทผ์ฑ ๊ฒ์ฌ ๋๊ตฌ ๋์
โข ์ ๊ทผ์ฑ ๋ฉํธ๋ฆญ ๋์๋ณด๋ ๊ตฌ์ถ
โข ์ ๊ธฐ ๋ฆฌํฌํธ ์๋ ์์ฑ
// CI/CD ํ์ดํ๋ผ์ธ์ ์ ๊ทผ์ฑ ํ
์คํธ ์ถ๊ฐ ์์
// Azure DevOps YAML
steps:
- task: DotNetCoreCLI@2
displayName: 'Build Application'
inputs:
command: 'build'
projects: '**/*.csproj'
- task: DotNetCoreCLI@2
displayName: 'Run Accessibility Tests'
inputs:
command: 'test'
projects: '**/*AccessibilityTests.csproj'
arguments: '--filter Category=Accessibility'
- task: PowerShell@2
displayName: 'Run Accessibility Insights CLI'
inputs:
targetType: 'inline'
script: |
# Accessibility Insights CLI ์คํ
AccessibilityInsights.CLI.exe scan `
--output-directory $(Build.ArtifactStagingDirectory) `
--scan-id $(Build.BuildId)
- task: PublishTestResults@2
displayName: 'Publish Accessibility Test Results'
inputs:
testResultsFormat: 'VSTest'
testResultsFiles: '**/accessibility-*.trx'
๐ฅ ํ ๋ฌธํ ๋ง๋ค๊ธฐ
์ ๊ทผ์ฑ์ ๊ฐ๋ฐ์ ํผ์ ํ๋ ๊ฒ ์๋์์! ๋์์ด๋, PM, QA ๋ชจ๋๊ฐ ํจ๊ปํด์ผ ํด์ ๐ค
๋์์ด๋์ ํ์
๐จ
โข ๋์์ธ ๋จ๊ณ์์ ์์ ๋๋น ์ฒดํฌ
โข ํฌ์ปค์ค ์ํ ๋์์ธ ํฌํจ
โข ํค๋ณด๋ ๋ค๋น๊ฒ์ด์
ํ๋ก์ฐ ๊ณ ๋ ค
โข ์ ๊ทผ ๊ฐ๋ฅํ ์ปดํฌ๋ํธ ๋์์ธ
PM๊ณผ ํ์
๐
โข ์คํ ๋ฆฌ์ ์ ๊ทผ์ฑ ์๊ตฌ์ฌํญ ํฌํจ
โข ์ ๊ทผ์ฑ ๊ฐ์ ์ ๋ฐฑ๋ก๊ทธ์ ์ถ๊ฐ
โข ๋ฆด๋ฆฌ์ค ์ ์ ๊ทผ์ฑ ์ฒดํฌ ํ์ํ
โข ์ฌ์ฉ์ ํผ๋๋ฐฑ ์์ง
QA์ ํ์
๐งช
โข ํ
์คํธ ์ผ์ด์ค์ ์ ๊ทผ์ฑ ์๋๋ฆฌ์ค ํฌํจ
โข ์คํฌ๋ฆฐ ๋ฆฌ๋ ํ
์คํธ ์ํ
โข ํค๋ณด๋ ๋ค๋น๊ฒ์ด์
ํ
์คํธ
โข ์ ๊ทผ์ฑ ๋ฒ๊ทธ ์ฐ์ ์์ ๋๊ฒ ์ค์
๐ก ์ ์ฉํ ๋ฆฌ์์ค์ ๋๊ตฌ
์ ๊ทผ์ฑ ๊ฐ๋ฐ์ ๋์๋๋ ๋ฆฌ์์ค๋ค์ ์ ๋ฆฌํด๋ดค์ด์! ๋ถ๋งํฌ ํ์ โญ
โข Microsoft Accessibility Documentation
https://docs.microsoft.com/accessibility/
โข WCAG 2.1 Guidelines
https://www.w3.org/WAI/WCAG21/quickref/
โข WAI-ARIA Authoring Practices
https://www.w3.org/WAI/ARIA/apg/
์จ๋ผ์ธ ์ฝ์ค
โข Web Accessibility by Google (Udacity) - ๋ฌด๋ฃ!
โข Accessibility Fundamentals (Pluralsight)
โข Introduction to Web Accessibility (edX)
์ปค๋ฎค๋ํฐ
โข A11y Project (https://www.a11yproject.com/)
โข WebAIM Community
โข Stack Overflow [accessibility] ํ๊ทธ
โข Accessibility Insights for Windows โญโญโญโญโญ
โข Inspect.exe (Windows SDK)
โข NVDA Screen Reader (๋ฌด๋ฃ)
โข Colour Contrast Analyser
โข axe DevTools
Visual Studio ํ์ฅ
โข Web Accessibility Checker
โข Accessibility Viewer
โข Color Oracle (์๋งน ์๋ฎฌ๋ ์ดํฐ)
NuGet ํจํค์ง
โข Microsoft.Windows.Compatibility
โข System.Windows.Automation
โข FlaUI (UI ์๋ํ ํ ์คํธ ํ๋ ์์ํฌ)
๊ทธ๋ฆฌ๊ณ ํน์ ์ ๊ทผ์ฑ ๊ด๋ จํด์ ๋ ๋ฐฐ์ฐ๊ณ ์ถ๊ฑฐ๋ ํ๋ก์ ํธ์ ๋์์ด ํ์ํ์๋ฉด ์ฌ๋ฅ๋ท(https://www.jaenung.net)์์ ์ ๋ฌธ๊ฐ๋ค์ ๋์์ ๋ฐ์ ์ ์์ด์! ์ ๊ทผ์ฑ ์ปจ์คํ ๋ถํฐ ์ฝ๋ ๋ฆฌ๋ทฐ๊น์ง ๋ค์ํ ์๋น์ค๊ฐ ์๋ต๋๋ค ๐
๐ฌ ๋ง๋ฌด๋ฆฌํ๋ฉฐ
์... ์ฌ๊ธฐ๊น์ง ์ฝ์ผ์
จ๋ค๋ฉด ์ง์ง ๋๋จํ์ธ์! ๐๐๐
์ ๊ทผ์ฑ์ ์ฒ์์๋ ๋ณต์กํ๊ณ ์ด๋ ค์ ๋ณด์ด์ง๋ง, ๋ง์ ์์ํด๋ณด๋ฉด ์๊ฐ๋ณด๋ค ์ด๋ ต์ง ์์์. ๊ทธ๋ฆฌ๊ณ ๋ฌด์๋ณด๋ค ๋ชจ๋ ์ฌ์ฉ์๊ฐ ์ฌ๋ฌ๋ถ์ ์ฑ์ ์ฌ์ฉํ ์ ์๊ฒ ๋ง๋๋ ๊ฒ์ ์ ๋ง ๋ณด๋์ฐฌ ์ผ์ด์์ โจ
์ ๋ ์ฒ์์๋ "์ด๊ฑฐ ๊ผญ ํด์ผ ํ๋?" ์ถ์๋๋ฐ, ์ค์ ๋ก ์๊ฐ์ฅ์ ์ธ ๋ถ์ด ์ ๊ฐ ๋ง๋ ์ฑ์ ์คํฌ๋ฆฐ ๋ฆฌ๋๋ก ์ฌ์ฉํ๋ ๊ฑธ ๋ณด๊ณ ๋์ ์๊ฐ์ด ์์ ํ ๋ฐ๋์์ด์. ๊ทธ๋ถ์ด "์ด ์ฑ์ ์ ๋ง ์ฌ์ฉํ๊ธฐ ํธํ๋ค์"๋ผ๊ณ ๋ง์ํ์
จ์ ๋์ ๊ทธ ๋ฟ๋ฏํจ์ด๋... ๐ฅน
์ ๊ทผ์ฑ์ ๋จ์ํ ์ฅ์ ์ธ์ ์ํ ๊ฒ์ด ์๋๋ผ, ๋ ๋์ ์ฌ์ฉ์ ๊ฒฝํ์ ๋ง๋๋ ๊ฒ์ด์์. ํค๋ณด๋ ๋จ์ถํค๋ ํ์์ ์ ๋ค์ด ์ข์ํ๊ณ , ๋ช
ํํ ๋ ์ด๋ธ์ ๋ชจ๋ ์ฌ์ฉ์์๊ฒ ๋์์ด ๋๊ณ , ์ข์ ์์ ๋๋น๋ ๋ฐ์ ํ๋น ์๋์๋ ํ๋ฉด์ ์ ๋ณด์ด๊ฒ ํด์ฃผ์ฃ .
์ค๋ ๋ฐฐ์ด ๋ด์ฉ์ ๋น์ฅ ๋ค ์ ์ฉํ๋ ค๊ณ ํ์ง ๋ง์ธ์! ์์ ๊ฒ๋ถํฐ ์์ํ๋ฉด ๋ผ์:
1๏ธโฃ ๋ค์ ๋ฒํผ ๋ง๋ค ๋ AutomationProperties.Name ์ถ๊ฐํ๊ธฐ
2๏ธโฃ ์์ ๋๋น ์ฒดํฌํด๋ณด๊ธฐ
3๏ธโฃ Tab ํค๋ก ์ฑ ๋ค๋น๊ฒ์ด์
ํ
์คํธํด๋ณด๊ธฐ
์ด๋ ๊ฒ ํ๋์ฉ ์ต๊ด์ ๋ค์ด๋ค ๋ณด๋ฉด ์ด๋์ ์ ๊ทผ์ฑ์ด ์์ฐ์ค๋ฌ์ด ๊ฐ๋ฐ ํ๋ก์ธ์ค์ ์ผ๋ถ๊ฐ ๋ ๊ฑฐ์์! ๐ช
๊ทธ๋ฆฌ๊ณ ํน์ ์ ๊ทผ์ฑ ๊ด๋ จํด์ ๋งํ๋ ๋ถ๋ถ์ด ์๊ฑฐ๋ ๋ ๊น์ด ์๋ ์ง์์ด ํ์ํ์๋ฉด ์ฌ๋ฅ๋ท์ '์ง์์ธ์ ์ฒ'์ ๋ค๋ฅธ ์ข์ ๊ธ๋ค๋ ๋ง์ผ๋ ์ฐธ๊ณ ํ์ธ์! ํ๋ก๊ทธ๋๋ฐ๋ฟ๋ง ์๋๋ผ ๋ค์ํ ๋ถ์ผ์ ์ ๋ฌธ๊ฐ๋ค์ด ์ง์์ ๋๋๊ณ ์๋ต๋๋ค ๐
- โ ์ ๊ทผ์ฑ์ ์ ํ์ด ์๋ ํ์
- โ AutomationProperties๋ก ์คํฌ๋ฆฐ ๋ฆฌ๋ ์ง์
- โ ํค๋ณด๋๋ง์ผ๋ก ๋ชจ๋ ๊ธฐ๋ฅ ์ฌ์ฉ ๊ฐ๋ฅํ๊ฒ
- โ ์์ ๋๋น 4.5:1 ์ด์ ์ ์ง
- โ ์์๋ง์ผ๋ก ์ ๋ณด ์ ๋ฌ ๊ธ์ง
- โ ๋์ ์ฝํ ์ธ ๋ LiveSetting์ผ๋ก ์๋ฆผ
- โ ํผ ๋ ์ด๋ธ๊ณผ ์ ๋ ฅ ํ๋ ์ฐ๊ฒฐ
- โ ์ ๊ธฐ์ ์ธ ์ ๊ทผ์ฑ ํ ์คํธ
- โ ํ ์ ์ฒด๊ฐ ํจ๊ป ์ฐธ์ฌ
- โ ์์ ๊ฒ๋ถํฐ ์์ํ๊ธฐ!
์ฌ๋ฌ๋ถ ๋ชจ๋ ํฌ์ฉ์ ์ด๊ณ ์ ๊ทผ ๊ฐ๋ฅํ ๋ฉ์ง ์ ํ๋ฆฌ์ผ์ด์
์ ๋ง๋์๊ธธ ๋ฐ๋๊ฒ์! ํ์ดํ
! ๐โจ
๊ถ๊ธํ ์ ์ด๋ ํผ๋๋ฐฑ์ด ์์ผ์๋ฉด ์ธ์ ๋ ๋๊ธ๋ก ๋จ๊ฒจ์ฃผ์ธ์. ํจ๊ป ๋ฐฐ์ฐ๊ณ ์ฑ์ฅํ๋ ๊ฐ๋ฐ์ ์ปค๋ฎค๋ํฐ๋ฅผ ๋ง๋ค์ด๊ฐ์! ๐
๐ ๋ชจ๋๋ฅผ ์ํ ์ํํธ์จ์ด๋ฅผ ๋ง๋๋ ๊ฒ,
๊ทธ๊ฒ์ด ์ง์ ํ ๊ฐ๋ฐ์์ ์ญ๋์
๋๋ค ๐ปโจ
๊ด๋ จ ํค์๋
๋๊ธ ์์ฑ
์ด ๊ธ์ ๋ํ ์ฌ๋ฌ๋ถ์ ์๊ฐ์ ๋ค๋ ค์ฃผ์ธ์
๋ก๊ทธ์ธ์ด ํ์ํฉ๋๋ค
๋๊ธ์ ์์ฑํ๋ ค๋ฉด ๋จผ์ ๋ก๊ทธ์ธํด์ฃผ์ธ์.
๋๊ธ 0
์ง์์ธ์ ์ฒ - ์ง์ ์ฌ์ฐ๊ถ ๋ณดํธ ๊ณ ์ง
์ง์ ์ฌ์ฐ๊ถ ๋ณดํธ ๊ณ ์ง
- ์ ์๊ถ ๋ฐ ์์ ๊ถ: ๋ณธ ์ปจํ ์ธ ๋ ์ฌ๋ฅ๋ท์ ๋ ์ AI ๊ธฐ์ ๋ก ์์ฑ๋์์ผ๋ฉฐ, ๋ํ๋ฏผ๊ตญ ์ ์๊ถ๋ฒ ๋ฐ ๊ตญ์ ์ ์๊ถ ํ์ฝ์ ์ํด ๋ณดํธ๋ฉ๋๋ค.
- AI ์์ฑ ์ปจํ ์ธ ์ ๋ฒ์ ์ง์: ๋ณธ AI ์์ฑ ์ปจํ ์ธ ๋ ์ฌ๋ฅ๋ท์ ์ง์ ์ฐฝ์๋ฌผ๋ก ์ธ์ ๋๋ฉฐ, ๊ด๋ จ ๋ฒ๊ท์ ๋ฐ๋ผ ์ ์๊ถ ๋ณดํธ๋ฅผ ๋ฐ์ต๋๋ค.
- ์ฌ์ฉ ์ ํ: ์ฌ๋ฅ๋ท์ ๋ช ์์ ์๋ฉด ๋์ ์์ด ๋ณธ ์ปจํ ์ธ ๋ฅผ ๋ณต์ , ์์ , ๋ฐฐํฌ, ๋๋ ์์ ์ ์ผ๋ก ํ์ฉํ๋ ํ์๋ ์๊ฒฉํ ๊ธ์ง๋ฉ๋๋ค.
- ๋ฐ์ดํฐ ์์ง ๊ธ์ง: ๋ณธ ์ปจํ ์ธ ์ ๋ํ ๋ฌด๋จ ์คํฌ๋ํ, ํฌ๋กค๋ง, ๋ฐ ์๋ํ๋ ๋ฐ์ดํฐ ์์ง์ ๋ฒ์ ์ ์ฌ์ ๋์์ด ๋ฉ๋๋ค.
- AI ํ์ต ์ ํ: ์ฌ๋ฅ๋ท์ AI ์์ฑ ์ปจํ ์ธ ๋ฅผ ํ AI ๋ชจ๋ธ ํ์ต์ ๋ฌด๋จ ์ฌ์ฉํ๋ ํ์๋ ๊ธ์ง๋๋ฉฐ, ์ด๋ ์ง์ ์ฌ์ฐ๊ถ ์นจํด๋ก ๊ฐ์ฃผ๋ฉ๋๋ค.
์์ง ๋๊ธ์ด ์์ต๋๋ค.