Skip to content
New issue

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

링크에 식별 가능한 이름이 없습니다. #1

Open
sunwoo0706 opened this issue Apr 14, 2022 · 1 comment
Open

링크에 식별 가능한 이름이 없습니다. #1

sunwoo0706 opened this issue Apr 14, 2022 · 1 comment

Comments

@sunwoo0706
Copy link
Owner

sunwoo0706 commented Apr 14, 2022

LightHouse 측정중 접근성 부분에서 다음과 같이 개선요구가 발생했다.
스크린샷 2022-04-14 오전 11 27 40

외부 사이트 프로필로 이동하는 버튼인데 link에는 식별 가능한 ( discernible ) 텍스트가 있어야 한다.

생각해본 해결방법은 3가지인데

  1. 디자인을 바꾸어 텍스트를 삽입한다.
  2. aria-label 속성을 사용한다.
  3. 이미지를 svg에서 비트맵 형식으로 바꾸어 alt 속성을 사용한다

2번을 선택하기로 했다.

이유는 일단 디자인을 변경하는건 리소스가 많이 필요하다(창작의 고뇌...). 그리고 이미지를 svg에서 래스터 이미지로 바꾼후 alt 속성을 사용하는 방법은 지금 현재 icon에서 svg fill이나 size를 사용하는 부분이 있으므로 대체하기 힘들기 때문이다.

참고 자료

오늘의 영단어 ㅎㅎ
discernible : 인식 가능한, 알아볼 수 있는

@sunwoo0706
Copy link
Owner Author

스크린샷 2022-04-14 오전 11 56 30

오예 ~

sunwoo0706 added a commit that referenced this issue Apr 14, 2022
@sunwoo0706 sunwoo0706 reopened this Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant