Repository: primefaces/primefaces (java)

Issue:
SelectOneRadio: Accessibility Enhancement for Screenreaders - interactive controls
### Description

I'm experiencing some issues with the p:SelectOneRadio tag when reading my pages with the NVDA screenreader. Admittedly, this is the only screenreader I have access to, so maybe it does work with other readers. When I visit the [SelectOneRadio showcase](https://www.primefaces.org/showcase/ui/input/oneRadio.xhtml?jfwid=5d154), tab to the Page Direction group and use the arrow keys to navigate down the list, it correctly selects each option but NVDA reads the following:

```
Option1  radio button  checked  1 of 3

Option1  radio button  checked  1 of 1

Option2  radio button  not checked  2 of 3

Option2  radio button  checked  1 of 1

Option3  radio button  not checked  3 of 3

Option3  radio button  checked  1 of 1
```

### Describe the solution you would like

Interestingly, this seems to be an issue with the role='radio' attribute that is added to the parent div of the ui-radiobutton. Additionally, axe DevTools, an accessibility plugin, takes issue with this attribute as well and says "interactive controls must be not be nested". If I remove this role, axe doesn't have any more issues and NVDA reads the page correctly:

```
Option1  radio button  checked  1 of 3

Option2  radio button  checked  2 of 3

Option3  radio button  checked  3 of 3
```

I'm sure the role=radio grants us something, so obviously it should only be removed if we can verify that removing it fixes these issues and doesn't make anything else worse.

### Additional context

_No response_


Pull request description:
Fix #13047: 14.0.10 SelectOneRadio fix screenreader announcement
Fix #13047: 14.0.10SelectOneRadio fix screenreader announcement

Patch:
diff --git a/pom.xml b/pom.xml
index 2af7e3db20..238f016728 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
     <groupId>org.primefaces</groupId>
     <artifactId>primefaces-parent</artifactId>
     <packaging>pom</packaging>
-    <version>14.0.9</version>
+    <version>14.0.10-SNAPSHOT</version>
     <name>PrimeFaces Parent</name>
     <url>https://www.primefaces.org</url>
 
diff --git a/primefaces-cli/pom.xml b/primefaces-cli/pom.xml
index 3766b480a1..681f1980b7 100644
--- a/primefaces-cli/pom.xml
+++ b/primefaces-cli/pom.xml
@@ -7,7 +7,7 @@
     <parent>
         <groupId>org.primefaces</groupId>
         <artifactId>primefaces-parent</artifactId>
-        <version>14.0.9</version>
+        <version>14.0.10-SNAPSHOT</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/primefaces-selenium/pom.xml b/primefaces-selenium/pom.xml
index e437645ccb..6b4a530621 100644
--- a/primefaces-selenium/pom.xml
+++ b/primefaces-selenium/pom.xml
@@ -7,7 +7,7 @@
     <parent>
         <groupId>org.primefaces</groupId>
         <artifactId>primefaces-parent</artifactId>
-        <version>14.0.9</version>
+        <version>14.0.10-SNAPSHOT</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/primefaces-selenium/primefaces-selenium-components/pom.xml b/primefaces-selenium/primefaces-selenium-components/pom.xml
index 7ca7d58328..04d0d3e443 100644
--- a/primefaces-selenium/primefaces-selenium-components/pom.xml
+++ b/primefaces-selenium/primefaces-selenium-components/pom.xml
@@ -7,7 +7,7 @@
     <parent>
         <groupId>org.primefaces</groupId>
         <artifactId>primefaces-selenium</artifactId>
-        <version>14.0.9</version>
+        <version>14.0.10-SNAPSHOT</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/primefaces-selenium/primefaces-selenium-core/pom.xml b/primefaces-selenium/primefaces-selenium-core/pom.xml
index e20ea877f0..3c29026daa 100644
--- a/primefaces-selenium/primefaces-selenium-core/pom.xml
+++ b/primefaces-selenium/primefaces-selenium-core/pom.xml
@@ -7,7 +7,7 @@
     <parent>
         <groupId>org.primefaces</groupId>
         <artifactId>primefaces-selenium</artifactId>
-        <version>14.0.9</version>
+        <version>14.0.10-SNAPSHOT</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/primefaces-showcase/pom.xml b/primefaces-showcase/pom.xml
index d049591192..1f9e5a4e6d 100644
--- a/primefaces-showcase/pom.xml
+++ b/primefaces-showcase/pom.xml
@@ -7,7 +7,7 @@
     <parent>
         <groupId>org.primefaces</groupId>
         <artifactId>primefaces-parent</artifactId>
-        <version>14.0.9</version>
+        <version>14.0.10-SNAPSHOT</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/primefaces/pom.xml b/primefaces/pom.xml
index 4202d86918..da81c95fb7 100644
--- a/primefaces/pom.xml
+++ b/primefaces/pom.xml
@@ -7,7 +7,7 @@
     <parent>
         <groupId>org.primefaces</groupId>
         <artifactId>primefaces-parent</artifactId>
-        <version>14.0.9</version>
+        <version>14.0.10-SNAPSHOT</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/primefaces/src/main/java/org/primefaces/component/selectoneradio/SelectOneRadioRenderer.java b/primefaces/src/main/java/org/primefaces/component/selectoneradio/SelectOneRadioRenderer.java
index c4a76b85bf..d2aa43aaba 100644
--- a/primefaces/src/main/java/org/primefaces/component/selectoneradio/SelectOneRadioRenderer.java
+++ b/primefaces/src/main/java/org/primefaces/component/selectoneradio/SelectOneRadioRenderer.java
@@ -161,8 +161,6 @@ public class SelectOneRadioRenderer extends SelectOneRenderer {
 
                 writer.startElement("div", null);
                 writer.writeAttribute("class", columnClass, null);
-                writer.writeAttribute("role", "radio", null);
-                writer.writeAttribute(HTML.ARIA_CHECKED, Boolean.toString(selected), null);
                 encodeOption(context, radio, selectItem, id, name, converter, selected, disabled);
                 writer.endElement("div");
 


Test patch:
diff --git a/primefaces-integration-tests-jakarta/pom.xml b/primefaces-integration-tests-jakarta/pom.xml
index 725da43985..1d70f83355 100644
--- a/primefaces-integration-tests-jakarta/pom.xml
+++ b/primefaces-integration-tests-jakarta/pom.xml
@@ -7,7 +7,7 @@
     <parent>
         <groupId>org.primefaces</groupId>
         <artifactId>primefaces-parent</artifactId>
-        <version>14.0.9</version>
+        <version>14.0.10-SNAPSHOT</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/primefaces-integration-tests/pom.xml b/primefaces-integration-tests/pom.xml
index 26fab09785..0634b9ca8e 100644
--- a/primefaces-integration-tests/pom.xml
+++ b/primefaces-integration-tests/pom.xml
@@ -7,7 +7,7 @@
     <parent>
         <groupId>org.primefaces</groupId>
         <artifactId>primefaces-parent</artifactId>
-        <version>14.0.9</version>
+        <version>14.0.10-SNAPSHOT</version>
         <relativePath>../pom.xml</relativePath>
     </parent>