fix(accessibility): add alternate text to .gm-resize-trigger object#67
fix(accessibility): add alternate text to .gm-resize-trigger object#67Kristinita wants to merge 5 commits into
Conversation
Use cssnano and Uglify JS
for lighthouse validation — https://web.dev/object-alt/
perf(jquery) remove JQuery, replace all JQuery dependencies perf(deferjs): migrate to Defer.js — https://appseeds.net/defer.js/demo.html refactor(pelican): single template for articles and pages with includes — https://bernhard.scheirle.de/posts/2016/March/07/seo-how-to-exclude-pages-and-articles-with-pelican/#how-to-use-the-noindex-html-meta-tag-with-pelican perf(fonts): increase fonts downloading speed — https://csswizardry.com/2020/05/the-fastest-google-fonts/ refactor(peru): remove all Python third-party packages from repository — buildinspace/peru#205 (comment) upd(python): Python and Pipenv to latest versions fix(just_table): apply just_table for all types of articles and pages — burakkose/just_table#9 upd(css): migrate from PurifyCSS to PurgeCSS lint(links): checkPages for checking internal links — https://www.npmjs.com/package/check-pages fix(accessibility): some improvements for the own code and Gemini scrollbar — noeldelgado/gemini-scrollbar#67 fix(favicons): apply RealFavicon for all HTML lint(csslint): drop CSSLint support, I can’t ignore CSS4 parts of a code — CSSLint/csslint#720 (comment)
|
@noeldelgado, please add finally this line: obj.textContent = 'Resize trigger';Thanks. |
|
Type: Update ⬆ @noeldelgado, please review the changes. 1. ChangesI have updated my changes: - obj.textContent = 'Resize trigger';
+ obj.setAttribute('aria-label', 'Resize trigger');2. ArgumentationFor Lighthouse 11.4.0
3. Comparison
4. Environment
Thanks. |



1. Changes
.gm-resize-triggerobject.index.jsuse UglifyJS.2. Argumentation
2.1. Summary
For successful lighthouse validation.
2.2. Details
<object>elements do not have [alt] text<object>elements must have alternate text3. Steps to reproduce
I opened pages with Gemini Scrollbar in Chromium:
→ I ran lighthouse from Chrome DevTools → see below parts of lighthouse reports.
4. Behavior
4.1. Before
Object from DevTools Elements panel:
Part of lighthouse report:
4.2. After
Object from DevTools Elements panel:
Part of lighthouse report:
5. Techniques used
Node.textContent.Internet Explorer 8 doesn’t support it, but Gemini Scrollbar supports IE9+. Another browsers must successfully support
Node.textContent.6. Testing environment
--disable-extensionsflag.Thanks.