This updated version enhances the tool's capability to audit various aspects of a webpage, including image alt text, content word count, and the relevance of these elements to the meta title and description. It introduces a prioritization feature for optimization recommendations, making it easier to identify and address critical SEO issues.
- The script searches for <title> and tags and extracts keywords from them to evaluate relevance.
- Keywords are cleaned and standardized to facilitate comparison with the page's content.
- The script calculates the total number of words on the page and extracts keywords from the visible text content.
- It compares these content keywords with the title and description keywords to determine a content relevance score, which indicates how well the content aligns with the page's primary topics.
- Evaluates if images on the page have alt attributes.
- Checks whether the alt text contains keywords related to the title and description, which can impact SEO and accessibility.
- Provides an "Alt Relevance Score" that measures the effectiveness of the alt attributes.
-
Alt Attribute Score:
- The percentage of images that include alt attributes. This measures how well the page adheres to accessibility standards.
-
Alt Relevance Score:
- The relevance of the alt attributes based on the presence of title and description keywords.
-
Content Relevance Score:
- The percentage of content keywords that match those in the title and description, indicating content alignment.
-
Final Score:
- The overall score is calculated as the average of the alt score, alt relevance score, and content relevance score.
- Improvement Areas: The script now identifies specific areas needing attention, such as low content word count or missing alt text.
- Customized Recommendations: Based on scoring thresholds, the tool provides targeted suggestions to improve SEO and content quality.
- Thresholds for Optimization: Users can set custom thresholds for content word count, alt score, and relevance score to tailor the script to their specific requirements.
- Results are saved in a CSV file with the following fields:
- URL
- Total Images
- Images Without Alt
- Alt Relevance Score
- Content Word Count
- Content Relevance Score
- Final Score
- Suggestions (New in v2.0)
-
Comprehensive Page Analysis:
- Checks not only for image alt attributes but also evaluates the relevance of the page's content in relation to the meta title and description, providing a complete SEO overview.
-
SEO and Accessibility:
- Offers detailed insights into the optimization of images and content, helping improve both search engine rankings and accessibility.
-
Multi-Threading:
- Efficiently processes multiple URLs simultaneously, making it suitable for large datasets and enterprise-level SEO audits.
-
Actionable Recommendations (New in v2.0):
- Provides prioritized optimization suggestions to guide users in focusing on the most impactful areas for improvement.
Version v2.0 Enhancements:
- Added prioritized optimization suggestions based on scoring thresholds.
- Introduced customizable scoring thresholds for better flexibility.
- Enhanced error handling for better diagnostics when analyzing URLs.
- Updated CSV output to include improvement suggestions for a more actionable report.
This new version of the "Comprehensive Webpage Quality Auditor" offers a more complete and user-friendly overview of a webpage's quality, addressing SEO, content relevance, and accessibility more effectively than ever.