With T248137 in, we're able to use semantic HTML5 elements without restrictions.
Elements aimed for are header, main, nav and footer.
Example specification for nav at https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav
Additionally we can remove ARIA landmark role definitions when element automatically commmunicates landmark.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside was considered as well, but not seen as correct semantic representation of anything currently in Vector. Given its “content is only indirectly related to the document's main content” and article tools are directly related to the content for example
QA steps
- Ensure there are no new layout regressions on beta cluster in comparison to production in Internet Explorer 8 and 11 before and after this patch. There might be certain layout inconsistencies already in modern Vector with either of those browsers
- Ensure that both versions of Vector ?useskinversion=1 and ?useskinversion=2 are tested before after in both browsers
- Ensure "Reader" mode works in Firefox, Safari and Mobile Safari in production. Wikipedia's domain name quite regularly gets special-cased to optimise or fix things they run into.
+++ This bug was initially created as a clone of Bug #61615 (now T63615) +++
Version: 1.24rc
Severity: enhancement
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T66477#6215871 |
2 | ✅ | T66477#6215871 |
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T66477#6255468 |
2 | ❓ | T66477#6255468 |