|
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.
FemiwikiSkin/resources/skins.femiwiki/elements.less
Lines 10 to 11 in 5fd1e29
이 경우 브라우저의 글꼴 크기 설정을 무시하게 되기 때문에 접근성 문제가 발생할 수 있습니다. 예를 들어 데스크탑 파이어폭스에서 글꼴 크기를 기본 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.