From 608f2f817b24747d80c5651011dbcb0e70d3dd30 Mon Sep 17 00:00:00 2001 From: ZachQ Date: Tue, 30 Oct 2018 14:01:36 -0400 Subject: [PATCH 1/2] Update App.start.js --- 06-wai-aria/exercise/src/App.start.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/06-wai-aria/exercise/src/App.start.js b/06-wai-aria/exercise/src/App.start.js index 090c070..5b6dd93 100644 --- a/06-wai-aria/exercise/src/App.start.js +++ b/06-wai-aria/exercise/src/App.start.js @@ -9,7 +9,7 @@ https://www.w3.org/TR/wai-aria-practices-1.1/examples/radio/radio-1/radio-1.html - Tip: you can figure out the next value with React.Children.forEach(fn), or React.Children.toArray(children).reduce(fn) - Move the focus in cDU to the newly selected item - - Tip: do it in RadioOption not RadioGroup + - Tip: do it in RadioButton not RadioGroup - Tip: you'll need a ref - Add the aria attributes - radiogroup From e0962a7536453cd9df0da57ce7c4607f427fec4c Mon Sep 17 00:00:00 2001 From: ZachQ Date: Tue, 30 Oct 2018 14:02:06 -0400 Subject: [PATCH 2/2] Update App.solution.js --- 06-wai-aria/exercise/src/App.solution.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/06-wai-aria/exercise/src/App.solution.js b/06-wai-aria/exercise/src/App.solution.js index 163b80c..a966b9c 100644 --- a/06-wai-aria/exercise/src/App.solution.js +++ b/06-wai-aria/exercise/src/App.solution.js @@ -9,7 +9,7 @@ https://www.w3.org/TR/wai-aria-practices-1.1/examples/radio/radio-1/radio-1.html - Tip: you can figure out the next value with React.Children.forEach(fn), or React.Children.toArray(children).reduce(fn) - Move the focus in cDU to the newly selected item - - Tip: do it in RadioOption not RadioGroup + - Tip: do it in RadioButton not RadioGroup - Tip: you'll need a ref - Add the aria attributes - radiogroup