Skip to content

Commit ce61e0b

Browse files
authored
Update accessibility.md
1 parent a565dac commit ce61e0b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

content/docs/accessibility.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,7 @@ class Parent extends React.Component {
227227
this.inputElement.current.focus();
228228
```
229229

230-
<<<<<<< HEAD
231230
Khi sử dụng HOC để mở rộng components, [chuyển tiếp ref](/docs/forwarding-refs.html) được khuyên dùng để bao bọc component sử dụng `forwardRef` function của React. Nếu một third party HOC không implement ref forwarding, pattern bên trên vẫn có thể sử dụng như một fallback.
232-
=======
233-
When using a [HOC](/docs/higher-order-components.html) to extend components, it is recommended to [forward the ref](/docs/forwarding-refs.html) to the wrapped component using the `forwardRef` function of React. If a third party HOC does not implement ref forwarding, the above pattern can still be used as a fallback.
234-
>>>>>>> f0a9793dff9f8e86ec365bfadb0b4b23c6f618ce
235231

236232
Một ví dụ về cách quản lý focus tốt là [react-aria-modal](https://github.com/davidtheclark/react-aria-modal). Đây là một ví dụ tương đối hiếm hoi nói về một cửa sổ modal có thể truy cập hoàn toàn. Nó không chỉ set focus ban đầu vào nút cancel (ngăn chặn người dùng không vô tình dùng bàn phím kích hoạt success action) và khóa focus từ bàn phím vào bên trong modal, nó cũng reset focus về lại element đã kích hoạt modal đó lúc ban đầu.
237233

@@ -517,4 +513,4 @@ Xem hướng dẫn bên dưới để biết cách dùng JAWS hiệu quả nhấ
517513
Xem hướng dẫn bên dưới để biết cách dùng ChromeVox hiệu quả nhất:
518514

519515
- [Google Chromebook Help - Sử dụng Built-in Screen Reader](https://support.google.com/chromebook/answer/7031755?hl=en)
520-
- [ChromeVox Classic Keyboard Shortcuts Reference](http://www.chromevox.com/keyboard_shortcuts.html)
516+
- [ChromeVox Classic Keyboard Shortcuts Reference](http://www.chromevox.com/keyboard_shortcuts.html)

0 commit comments

Comments
 (0)