Skip to content

글꼴 크기가 rem이 아닌 px로 지정돼 있음 / The font size is defined in px instead of em #831

@saschanaz

Description

@saschanaz

html {
font-size: unit(@font-size-root-default, px);

이 경우 브라우저의 글꼴 크기 설정을 무시하게 되기 때문에 접근성 문제가 발생할 수 있습니다. 예를 들어 데스크탑 파이어폭스에서 글꼴 크기를 기본 16px보다 크게 조정한 뒤 새로고침하더라도 페미위키의 글꼴 크기는 그대로이게 됩니다.

위키백과의 경우 글꼴 크기가 1rem으로 지정되어 있어 브라우저 글꼴 크기 설정을 따라가는 것을 볼 수 있습니다.


In this case it ignores the browser font size and thus potentially can cause accessibility issue. For example, if you try changing the font size in desktop Firefox from the default 16px to something higher, the font size in Femiwiki doesn't change even after page reload.

Wikipedia properly follows the browser font size configuration as its font size is defined as 1rem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilityIssues that affect accessibility

    Type

    Projects

    Status

    To do

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions